PNG iCCP included in stripped image

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
canavan
Posts: 23
Joined: 2013-02-18T10:12:03-07:00
Authentication code: 6789

PNG iCCP included in stripped image

Post 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?
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: PNG iCCP included in stripped image

Post by glennrp »

Thanks, fixed in IM7. Bug didn't exist in IM6.
Post Reply