Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to save PNG using Gimp 2.8.6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Wed Mar 05, 2014 5:43 am    Post subject: Unable to save PNG using Gimp 2.8.6 Reply with quote

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
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2107
Location: Finland

PostPosted: Wed Mar 05, 2014 8:10 am    Post subject: Reply with quote

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
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Wed Mar 05, 2014 8:23 am    Post subject: Reply with quote

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
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2107
Location: Finland

PostPosted: Wed Mar 05, 2014 8:27 am    Post subject: Reply with quote

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
View user's profile Send private message
666threesixes666
Veteran
Veteran


Joined: 31 May 2011
Posts: 1235
Location: 42.68n 85.41w

PostPosted: Wed Mar 05, 2014 9:15 am    Post subject: Reply with quote

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?
_________________
cat /etc/*-release
Funtoo Linux - baselayout 2.2.0
consider this warning no. 1
https://wiki.gentoo.org/index.php?title=Special:Contributions/666threesixes666&offset=&limit=500&target=666threesixes666
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Wed Mar 05, 2014 12:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Wed Mar 05, 2014 12:37 pm    Post subject: Reply with quote

This system is a relatively new installation.
Back to top
View user's profile Send private message
ssuominen
Developer
Developer


Joined: 30 Sep 2005
Posts: 2107
Location: Finland

PostPosted: Wed Mar 05, 2014 12:38 pm    Post subject: Reply with quote

What version of gdk-pixbuf are you using? Have you tried if upgrading gdk-pixbuf to ~arch version helps?
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Wed Mar 05, 2014 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Wed Mar 05, 2014 4:12 pm    Post subject: Reply with quote

Looks like a reboot fixed the issue for me. Now I am able to save PNG files again.
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Fri Mar 07, 2014 3:54 am    Post subject: Reply with quote

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
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 107

PostPosted: Thu Apr 03, 2014 8:33 pm    Post subject: Reply with quote

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.
_________________
Linux 3.12.13-gentoo #1 SMP x86_64 AMD Phenom(tm) II X4 850 Processor AuthenticAMD GNU/Linux - Sapphire ATI Radeon HD 6450 - 8G DDR3
Pay for Free Open source Software
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Fri Apr 04, 2014 4:01 am    Post subject: Reply with quote

What version of GIMP are you using as I don't seem to have the option to convert the color profile.
Back to top
View user's profile Send private message
Navar
Apprentice
Apprentice


Joined: 20 Aug 2012
Posts: 252

PostPosted: Fri Apr 04, 2014 7:30 am    Post subject: Reply with quote

@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
View user's profile Send private message
bluenuht
Tux's lil' helper
Tux's lil' helper


Joined: 01 Oct 2005
Posts: 107

PostPosted: Fri Apr 04, 2014 6:47 pm    Post subject: Reply with quote

media-gfx/gimp-2.8.6:2 alsa bzip2 dbus jpeg jpeg2k lcms mmx png python sse svg tiff udev
_________________
Linux 3.12.13-gentoo #1 SMP x86_64 AMD Phenom(tm) II X4 850 Processor AuthenticAMD GNU/Linux - Sapphire ATI Radeon HD 6450 - 8G DDR3
Pay for Free Open source Software
Back to top
View user's profile Send private message
lostinspace2011
Apprentice
Apprentice


Joined: 09 Sep 2005
Posts: 188

PostPosted: Thu Jul 24, 2014 11:19 pm    Post subject: Reply with quote

Rebuilding with updated use flags fixed the issue for me as well.

Thanks for all your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum