Linux png compression issue

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

Re: Linux png compression issue

Post by glennrp »

fmw42 wrote: 2017-08-25T16:32:38-07:00 Perhaps you might discuss this with the others on the libpng development team and see if it makes sense to them to modify libpng to show one or the other. I don't know enough about the filter values to say which is better. I would leave that to you and the PNG team to decide which, if they agree to present this information in a new version of libpng.
It's not a libpng matter but a PNG format matter. The PNG format doesn't store the info you are wanting. As I said, you can make some guesses, but that's not a libpng matter either, but something that could be done in ImageMagick, just as ImageMagick guesses about the JPEG quality. Counting the filter types used is just a matter of examining the PNG file as pngcrush or pngcheck does.
Post Reply