Page 1 of 1

PNG iCCP included in stripped image

Posted: 2017-09-27T09:53:04-07:00
by canavan
I'm afraid I can't provide a simple command line (i've tried various mixes of -stip, png:include-chunk and png:exnclude-chunk with a few test images, but none show the undesired behaviour) or even program code to reproduce, but we've noticed that in ImageMagick 7.0.7-3, sometimes the iCCP chunk is retained in PNG images, although they should have been stripped. We're using PHP and imagick, and we're using strip() on the image, and ImageMagick 7.0.5-4 was working as we expected. The change that causes this appears to be buried in an otherwise unrelated modification in 26b28d50a95dd2f943824bf9c47f7325e60b15e3:

Code: Select all

+    ping_preserve_iCCP=MagickTrue;
If this was unintentional, could this please be reverted?

Re: PNG iCCP included in stripped image

Posted: 2017-09-27T12:47:51-07:00
by glennrp
Thanks, fixed in IM7. Bug didn't exist in IM6.