[fpc-pascal] Could a kindly "graphical" FPC dev implement patch in mantis 21916

Reinier Olislagers reinierolislagers at gmail.com
Tue Dec 3 13:24:11 CET 2013

Timage doesn't support jpg cmyk

This bug had been dormant a long while, presumably because it was
inadvertently assigned to Lazarus.

Test program is attached; just tried again & confirmed problems & patch
(which still applies cleanly):

Problem & fix confirmed.
Given the fact that the patch does not modify existing functionality but
adds support for another encoding, suggest an FPC dev implement the patch.

FPC x86 + FPC x64 r26170, Windows.
Ran test program with associated jpg in YCCK_test.zip
The original jpg displays ok in Windows image viewer.
As expected, the test program generates a corrupted jpg file dest.jpg
I've taken the liberty of marking the bug confirmed.

Ran patch add_jpeg_YCCK.patch from zip file in mantis issue.
Patch applies cleanly running from $(fpcdir)\packages
Test program generates correct dest.jpg

Thanks a lot,

More information about the fpc-pascal mailing list