http://bugs.freepascal.org/view.php?id=21916
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.
Thanks.

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,
Reinier
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to