Re: libpng 1.6.7 broken?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Simon Perry <arch@xxxxxxxxxxx> on Tue, 2013/12/03 21:23:
> Hi all,
> 
> This following is an example of a thumbnail generated on a forum I help run.
> 
> This image: http://i.imgur.com/XxaSVKa.png
> 
> - Works in Firefox 25.0.1 on Windows 7
> - Works in Chrome 31.0.1650.57 m on Windows 7
> - Works in IE 10 on Win 7
> - Works in the Win 7 photo viewer
> - Works in Firefox for Android
> - Works in Chrome for Android
> 
> - Broken in Firefox 25.0.1 on Arch
> - Broken in Chromium 31.0.1650.57 on Arch
> - Broken when trying to load it into gpicview, The GIMP etc on Arch.
> 
> From what I can tell from here:
> 
> https://hg.mozilla.org/releases/mozilla-release/file/d20d499b219f/media/libpng/png.h
> 
> Firefox 25.0.1 for Windows appears to be built statically against libpng
> 1.5.17.
> 
> Any advice on where to report this, or what the best course of action
> is? If any of the devs have reported bugs to the libpng guys before,
> then I'd appreciate some help.

I think libpng is right, and the image is broken. You can use pngfix (which
is part of libpng package) to fix the image:

$ pngfix --out=XxaSVKa2.png XxaSVKa.png
IDAT TFB default 12 15 35843 67312 XxaSVKa.png

After that every application using libpng should be able to load the new png
file.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux