Problems with png files and libpng 1.6.3

Benjamin nystire at gmail.com
Tue Nov 19 07:52:30 UTC 2013


[PATCH] Correct png colour profiles

In libpng 1.6, there are new warning messages which are output when the
image doesn't have a valid colour profile. The colour profile has been
removed using the convert tool in the ImageMagick package, with the -strip
argument.

The patch looks large because it contains the modified png files. There was
no code touched for this.

Benjamin


On 19 November 2013 15:36, Martin Gysel <me at bearsh.org> wrote:

> Am 19.11.2013 12:54, schrieb Benjamin:
> > I had to upgrade libpng to 1.6.3 on my laptop, and when starting
> > subsurface, I was presented with the following:
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > libpng warning: iCCP: known incorrect sRGB profile
> > Segmentation fault (core dumped)
> >  After using the pngfix tool on the 9 png files in the "icons" folder, I
> > still get the "libpng warning" message, but at least now subsurface runs.
>
> I have libpng 1.6.6 and also get these warnings but no crash, so the
> actual crash could also be caused by libpng
> nonetheless the pngs should be fixed...
>
> /martin
>
> _______________________________________________
> subsurface mailing list
> subsurface at hohndel.org
> http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131119/5c68cfca/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Correct-png-colour-profiles.patch
Type: text/x-patch
Size: 1636165 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131119/5c68cfca/attachment-0001.bin>


More information about the subsurface mailing list