pnggroup / libpng

LIBPNG: Portable Network Graphics support, official libpng repository
http://libpng.sf.net
Other
1.25k stars 611 forks source link

libpng error: [00][B8][05][A9]: invalid chunk type #256

Open kadogo opened 5 years ago

kadogo commented 5 years ago

Hello,

I use Debian Stretch and I find out a bug when I concat many pictures together.

libpng: 1.6.28-1
feh: 2.18-2

tnew

I have this message if I try to read the picture with feh. Feh don't show anything.

$ feh tnew.png 
libpng warning: IDAT: bad parameters to zlib
libpng error: [00][B8][05][A9]: invalid chunk type
libpng warning: IDAT: bad parameters to zlib
libpng error: [00][B8][05][A9]: invalid chunk type
libpng warning: IDAT: bad parameters to zlib
libpng error: [00][B8][05][A9]: invalid chunk type

The result of pngcheck are correct

$ pngcheck tnew.png 
OK: tnew.png (100x50000, 24-bit RGB, non-interlaced, 98.3%).

If I try to read the picture on firefox or on Gimp it work without any issues;

Thanks for your help, don't hésitate to ask more information if needed.

Cheers

Kcchouette commented 5 years ago

Reproducible using feh 2.19.3 and libpng 1.6.34

tangyaofang commented 5 years ago

No one seems to be paying attention to this problem? Has this problem been solved in the new version?

kadogo commented 5 years ago

No change in Debian so I can always reproduce the bug with my image from the first post.

Kcchouette commented 5 years ago

Reproduced using feh 3.1.3 and libpng 1.6.36

kadogo commented 4 years ago

I'm still able to reproduce on Debian Buster

 *** 1.6.36-6 500
        500 http://ftp.be.debian.org/debian buster/main amd64 Packages
        100 /var/lib/dpkg/status

@ctruta Sorry to ping you but it look like the issue is not saw at all, is there maybe some direction we can look about to find a solution to solve this?

Cheers.

Kcchouette commented 4 years ago

On manjaro I haven't the same kind of error:

$ feh 3e516f48-9d05-4499-bf7a-375b4f45a77e.png
feh WARNING: 3e516f48-9d05-4499-bf7a-375b4f45a77e.png - No Imlib2 loader for that file format
feh: No loadable images specified.
See 'feh --help' or 'man feh' for detailed usage information

It's feh 3.3 with libpng 1.6.37