[magick-users] Fwd: PNG problem

Ross Presser rpresser at gmail.com
Thu Apr 26 08:41:11 PDT 2007


I have a PNG that displays fine with Internet Explorer, with Firefox, with
IrfanView, and with many other PNG consumers. Yet
ImageMagick-6.3.3-10-Q16-windows-dll complains that it is a "corrupt image".
Here's some debugging output:

C:\TEMP>identify -debug coder test.png
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadPNGImage/2808/Coder
  enter ReadPNGImage()
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/1677/Coder
    enter ReadOnePNGImage()
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/1798/Coder
      PNG width: 975, height: 855
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/1801/Coder
      PNG color_type: 3, bit_depth: 8
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/1804/Coder
      PNG compression_method: 0
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/1807/Coder
      PNG interlace_method: 0, filter_method: 0
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/2139/Coder
      Reading PNG PLTE chunk: number_colors: 256.
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/2207/Coder
      Reading PNG IDAT chunk(s)
2007-04-26T11:33:28-04:00 0:01 0.016u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/2219/Coder
      Converting PNG pixels to pixel packets
2007-04-26T11:33:28-04:00 0:01 0.172u 6.3.3 Coder identify[2328]: png.c
/PNGWarningHandler/1405/Coder
    libpng-1.2.8 warning: Expected 4 bytes; found 3 bytes
2007-04-26T11:33:28-04:00 0:01 0.234u 6.3.3 Coder identify[2328]: png.c
/PNGErrorHandler/1389/Coder
    libpng-1.2.8 error: Read Exception
2007-04-26T11:33:28-04:00 0:01 0.234u 6.3.3 Coder identify[2328]: png.c
/ReadOnePNGImage/1730/Coder
    exit ReadOnePNGImage() with error.
2007-04-26T11:33:28-04:00 0:01 0.234u 6.3.3 Coder identify[2328]: png.c
/ReadPNGImage/2853/Coder
  exit ReadPNGImage() with error.
identify: Corrupt image `test.png'.

The image is here: http://www.imtek.com/test/test.png

Can anyone make any recommendations?


More information about the Magick-users mailing list