Page 3 of 3

Re: Linux png compression issue

Posted: 2017-08-27T19:33:11-07:00
by glennrp
fmw42 wrote:
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.