Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2013-12

Could a kindly "graphical" FPC dev implement patch in mantis 21916

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

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

Reply by email

Michael Van Canneyt
to Reinier Olislagers
Reinier Olislagers wrote 12 lines
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.

Done. Thanks for bringing this to our attention.

Michael.

Reply by email