Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 504050 - =media-gfx/gimp-2.8.6: libpng error: known incorrect sRGB profile w/ libpng16
Summary: =media-gfx/gimp-2.8.6: libpng error: known incorrect sRGB profile w/ libpng16
Status: RESOLVED DUPLICATE of bug 505244
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 08:17 UTC by Alexander Hartner
Modified: 2014-03-26 23:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Sample image (SpottedMouse.png,522.06 KB, image/png)
2014-03-10 08:17 UTC, Alexander Hartner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Hartner 2014-03-10 08:17:01 UTC
Created attachment 372260 [details]
Sample image

When opening the attached file and exporting it as PNG I get the following error and the file is corrupted (0bytes). I am using the current stable versions of gimp. I understand the problem is related to the color profile, however the option to update the color profile under Image > Mode is not present in my installation of gimp.

Error message:
==============
libpng warning: iCCP: known incorrect sRGB profile
libpng error: known incorrect sRGB profile

(file-png:7245): GLib-WARNING **: (/var/tmp/portage/dev-libs/glib-2.38.2/work/glib-2.38.2/glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

Versions installed:
===================
*  media-gfx/gimp
      Latest version available: 2.8.6
      Latest version installed: 2.8.6
      Size of files: 19,830 kB
      Homepage:      http://www.gimp.org/
      Description:   GNU Image Manipulation Program
      License:       GPL-3 LGPL-3

*  media-libs/libpng
      Latest version available: 1.6.8
      Latest version installed: 1.6.8
      Size of files: 864 kB
      Homepage:      http://www.libpng.org/
      Description:   Portable Network Graphics library
      License:       libpng
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-03-10 09:04:33 UTC
Try media-gfx/gimp from ~arch instead of stable
I suspect we might have to stabilize newer media-gfx/gimp for libpng 1.6.*
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2014-03-11 16:15:23 UTC
See bug 504212 for stabilization of newer GIMP. Did you try it?
Comment 3 Alexander Hartner 2014-03-12 02:17:15 UTC
Upgrading to the latest release did not resolve this issue. Are you able to open the attached file and export it again as PNG ?


*  media-gfx/gimp
      Latest version available: 2.8.10-r1
      Latest version installed: 2.8.10-r1
      Size of files: 19,867 kB
      Homepage:      http://www.gimp.org/
      Description:   GNU Image Manipulation Program
      License:       GPL-3 LGPL-3

*  media-libs/libpng
      Latest version available: 1.6.9
      Latest version installed: 1.6.9
      Size of files: 874 kB
      Homepage:      http://www.libpng.org/
      Description:   Portable Network Graphics library
      License:       libpng
Comment 4 Sebastian Pipping gentoo-dev 2014-03-26 23:58:08 UTC

*** This bug has been marked as a duplicate of bug 505244 ***