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.
F:\web\im>dumppng /iproblematic.png
Input: /i problematic.png
WARNING(libpng): Ignoring bad adaptive filter type -
WARNING(libpng): Ignoring bad adaptive filter type -
WARNING(libpng): Ignoring bad adaptive filter type -
WARNING(libpng): Ignoring bad adaptive filter type -
WARNING(libpng): Ignoring bad adaptive filter type -
WARNING(libpng): Ignoring bad adaptive filter type -
ERROR(libpng): incorrect data check -
dimensions not found
However, Gimp can read it, and export it to another png file, which IM is happy with.
findus wrote:As I mentioned in my initial post, the file can be opened by other programs just fine.
I can open it with a revised version of pngcrush, but it just looks like a 10x15 mess of randomly colored pixels.
I can revise png.c to work like pngcrush in that respect, but would rather not have that be the default behavior.
Note that not only the bad CRC handling has to be defeated, but the handling of invalid filter bytes and a zlib
"data error" as well, to read this image.