Menu

#169 Extra compressed data error

libpng_code
closed
nobody
5
2014-08-26
2011-03-10
Anonymous
No

when using libpng in another application to convert pngs crushed with pngcrush some pngs can cause an error, which seems to be similar to the old overflow error.

libpng error: Extra compressed data
[read_png_file] Error during read_image
libpng error: Not enough image data
[read_png_file] Error during read_image
libpng error: [00][80][00][00]: invalid chunk type
[read_png_file] Error during read_image
libpng error: [00][80][00][00]: CRC error

....

then eventually turns to

libpng error: Read Error
[read_png_file] Error during read_image
libpng error: Read Error
[read_png_file] Error during read_image
libpng error: Read Error
[read_png_file] Error during read_image
libpng error: Read Error

Is this to be expected? Or a bug?

my binary can be found here
http://xn--l3h.crap.ps/584g

png that causes crash here
http://xn--l3h.crap.ps/57eJ

png that is crushed but will convert fine
http://xn--l3h.crap.ps/57T5

I have noticed it happens with LARGER resolution images.

Discussion

  • Anonymous

    Anonymous - 2011-03-10

    sorry.. binary is for mac osx snow leopard and usage is ./iPhonePNG pathtocompressedpng

     
  • Glenn Randers-Pehrson

    What version of pngcrush are you using?
    Did you download it from SourceForge?

    Your method of transmitting binaries and images
    via crap.ps isn't working for me. Would you
    put them in zip or tar.gz archives please?

     
  • Glenn Randers-Pehrson

    • status: open --> pending
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB