View previous topic :: View next topic |
Author |
Message |
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Wed Mar 05, 2014 5:43 am Post subject: Unable to save PNG using Gimp 2.8.6 |
|
|
When exporting from Gimp 2.8.6 to PNG I get the following error:
Quote: | libpng warning: iCCP: known incorrect sRGB profile
libpng error: known incorrect sRGB profile
(file-png:17683): GLib-WARNING **: (/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
|
Also under the image properties > color profile tag I get this message: Plug-In missing (plug-in-icc-profile-info)
Looks like something is missing, however it all seems to be installed correctly. I also checked using revdep-rebuild for any changes to any dependent libraries.
Quote: | emerge -pav gimp libpng
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] media-libs/libpng-1.6.8:0/16 USE="apng (-neon) -static-libs" ABI_X86="(64) (-32) (-x32)" 0 kB
[ebuild R ] media-gfx/gimp-2.8.6:2 USE="bzip2 jpeg jpeg2k mmx png sse tiff xpm -aalib -alsa (-altivec) (-aqua) -curl -dbus -debug -doc -exif -gnome -lcms -mng -pdf -postscript -python -smp -svg -udev -webkit -wmf" LINGUAS="-am -ar -ast -az -be -bg -br -ca -ca@valencia -cs -csb -da -de -dz -el -en_CA -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -lt -lv -mk -ml -ms -my -nb -nds -ne -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -rw -si -sk -sl -sr -sr@latin -sv -ta -te -th -tr -tt -uk -vi -xh -yi -zh_CN -zh_HK -zh_TW" 0 kB
Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
|
Any idea what I need to do to get gimp working again |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Mar 05, 2014 8:10 am Post subject: |
|
|
Try `revdep-rebuild --library libpng15.so.15` to recompile everything to use the new libpng 1.6 or directly re-emerging only `emerge -1 gdk-pixbuf`, because I suspect you might be hitting libpng upgrade issues. |
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Wed Mar 05, 2014 8:23 am Post subject: |
|
|
Running "revdep-rebuild --library libpng15.so.15" updated app-emulation/emul-linux-x86-baselibs and app-emulation/emul-linux-x86-gtklibs.
However neither resolved the problem. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Mar 05, 2014 8:27 am Post subject: |
|
|
lostinspace2011 wrote: | Running "revdep-rebuild --library libpng15.so.15" updated app-emulation/emul-linux-x86-baselibs and app-emulation/emul-linux-x86-gtklibs.
However neither resolved the problem. |
OK, it was a guess at best. |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Wed Mar 05, 2014 9:15 am Post subject: |
|
|
what does
image > mode > convert to color profile
do for you?
media-gfx/gimp-2.8.10-r1:2 is what im running so you can play with versions. did you try rebuilding gimp? |
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Wed Mar 05, 2014 12:36 pm Post subject: |
|
|
I don't have this option (image > mode > convert to color profile) only RBG, Grayscale and Indexes.
I did a system wide updateing using
Code: | emerge --update --newuse --deep --with-bdeps=y @world |
however the problem persists:
Quote: | libpng warning: iCCP: known incorrect sRGB profile
libpng error: known incorrect sRGB profile
(file-png:2757): GLib-WARNING **: (/var/tmp/portage/dev-libs/glib-2.36.4-r1/work/glib-2.36.4/glib/gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
|
|
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Wed Mar 05, 2014 12:37 pm Post subject: |
|
|
This system is a relatively new installation. |
|
Back to top |
|
|
SamuliSuominen Retired Dev
Joined: 30 Sep 2005 Posts: 2133 Location: Finland
|
Posted: Wed Mar 05, 2014 12:38 pm Post subject: |
|
|
What version of gdk-pixbuf are you using? Have you tried if upgrading gdk-pixbuf to ~arch version helps? |
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Wed Mar 05, 2014 2:10 pm Post subject: |
|
|
I am on the latest stable version.
Quote: | * x11-libs/gdk-pixbuf
Latest version available: 2.28.2
Latest version installed: 2.28.2 |
|
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Wed Mar 05, 2014 4:12 pm Post subject: |
|
|
Looks like a reboot fixed the issue for me. Now I am able to save PNG files again. |
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Fri Mar 07, 2014 3:54 am Post subject: |
|
|
It appears I spoke too soon. It seems I am only not able to save certain kind of PNG files. I figure it must be the color profile. Any suggestions on how I can change the color profile in the version of gimp I am using. |
|
Back to top |
|
|
bluenuht Tux's lil' helper
Joined: 01 Oct 2005 Posts: 141
|
Posted: Thu Apr 03, 2014 8:33 pm Post subject: |
|
|
Just had this exact same issue and judging by the date of your post I was expecting a missing lib or rebuild required.
Then I realised I was opening an TIF image from a designer before exporting it to PNG
Your note about being able to save some PNGs got me to just create a new blank canvas and that could be exported to PNG no problem.
The way I found to resolve it was to go to
Image->Mode->Convert to colour profile
and then accept the defaults of RGB Workspace (sRGB built in)
The image could then be exported to PNG no problem.
I have no idea if GIMP used to do this automatically as I have not worked with this designer before. _________________ x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB |
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Fri Apr 04, 2014 4:01 am Post subject: |
|
|
What version of GIMP are you using as I don't seem to have the option to convert the color profile. |
|
Back to top |
|
|
Navar Guru
Joined: 20 Aug 2012 Posts: 353
|
Posted: Fri Apr 04, 2014 7:30 am Post subject: |
|
|
@lostinspace2011, I agree with bluenuht.
Using GIMP 2.8.6 here, like you, it has the options they listed.
lostinspace2011 wrote: | media-gfx/gimp-2.8.6:2 USE="bzip2 jpeg jpeg2k mmx png sse tiff xpm |
Use options I've used are: alsa bzip2 dbus exif gnome jpeg lcms mmx mng pdf png sse svg tiff udev
(bolded are hints to try...) |
|
Back to top |
|
|
bluenuht Tux's lil' helper
Joined: 01 Oct 2005 Posts: 141
|
Posted: Fri Apr 04, 2014 6:47 pm Post subject: |
|
|
media-gfx/gimp-2.8.6:2 alsa bzip2 dbus jpeg jpeg2k lcms mmx png python sse svg tiff udev _________________ x86_64 Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz GenuineIntel GNU/Linux GeForce GTX NVIDIA 1660TI 16GB |
|
Back to top |
|
|
lostinspace2011 Apprentice
Joined: 09 Sep 2005 Posts: 230
|
Posted: Thu Jul 24, 2014 11:19 pm Post subject: |
|
|
Rebuilding with updated use flags fixed the issue for me as well.
Thanks for all your help. |
|
Back to top |
|
|
bschnzl Tux's lil' helper
Joined: 13 Mar 2005 Posts: 94
|
Posted: Fri Mar 06, 2015 1:11 pm Post subject: |
|
|
I was having problems saving PNGs. It would save PNGs for a while. After running for several hours, it began returning errors.
So I started gimp from the command line.
This is what I got on file open:
Code: | libpng warning: iCCP: known incorrect sRGB profile
lcms: skipping conversion because profiles seem to be equal:
sRGB IEC61966-2.1
sRGB built-in
libpng error: known incorrect sRGB profile |
and this is what I got on failure:
Code: | (file-png:29446): GLib-WARNING **: (/tmp/portage/dev-libs/glib-2.40.2/work/glib-2.40.2/glib/gerror.c:381):g_error_new_valist: runtime check failed: (domain != 0) |
I am rebuilding media-libs/libpng-1.6.16, dev-libs/glib-2.40.2, and media-gfx/gimp-2.8.10-r1. I will run a revdep-rebuild after.
The striking thing to me is the reference to /tmp/portage in the error.
During the gimp build, I got warnings to:
Code: | libtool: warning: remember to run 'libtool --finish /usr/lib64' |
which I did. /usr/lib64 is near the top (as it would be).
finally, every "install action" returned:
Code: | libtool: warning: '../../libgimp/libgimpui-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimp/libgimp-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimpwidgets/libgimpwidgets-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimpmodule/libgimpmodule-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '../../libgimpwidgets/libgimpwidgets-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '../../libgimpconfig/libgimpconfig-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '../../libgimp/libgimp-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimpconfig/libgimpconfig-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimpmath/libgimpmath-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimpcolor/libgimpcolor-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '/tmp/portage/media-gfx/gimp-2.8.10-r1/work/gimp-2.8.10/libgimpbase/libgimpbase-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '../../libgimpcolor/libgimpcolor-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '../../libgimpmath/libgimpmath-2.0.la' has not been installed in '/usr/lib64'
libtool: warning: '../../libgimpbase/libgimpbase-2.0.la' has not been installed in '/usr/lib64' |
I assume this is a symtom, and NOT the core of the issue.
revdep-rebuild returned:
Code: | Dynamic linking on your system is consistent... All done. |
Same error after all that...
Code: | Image > Mode > Convert to Color Profile |
allows successful save. _________________ Persistance Pays |
|
Back to top |
|
|
|