PNG iCCP included in stripped image
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:
If this was unintentional, could this please be reverted?
Code: Select all