You are not logged in.

#1 2013-08-31 01:40:29

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

[resolved] GIMP cannot export to .png

I did a system upgrade earlier this evening but I do not know if this is related. glibc was included in that upgrade.

I cannot export images from GIMP as .png files. I can export as e.g. .eps so the problem seems to be format-specific.

Starting gimp from the command line and trying to export the opened image as .png gives me:

GEGL-geglmodule.c-Message: Module '/usr/lib/gegl-0.2/ff-load.so' load error: /usr/lib/gegl-0.2/ff-load.so: undefined symbol: avcodec_open
/usr/lib/gimp/2.0/plug-ins/web-page: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory

(gimp:18392): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
/usr/lib/gimp/2.0/plug-ins/help-browser: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory

(gimp:18392): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
libpng error: known incorrect sRGB profile

(file-png:18442): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)

Clearly the last message mentions glib and file-png but I have no idea what it means. I think the previous warning is probably harmless - gimp has been complaining about known incorrect profiles for a while and never failed to export to .png before.

Searching on startpage with the last error (or the last error less numbers etc.) doesn't turn up any results.

Last edited by cfr (2013-09-04 23:26:28)


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#2 2013-08-31 01:52:09

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [resolved] GIMP cannot export to .png

No issues here with gimp 2.8.6-2 and libpng 1.6.3-1


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-08-31 01:57:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: [resolved] GIMP cannot export to .png

There was a long series of threads on similar looking* error messages about libpng some time ago - perhaps a month.  In most cases they could be safely ignored, and if I remember right it was due to be remedied in the next version of libpng.

I do not get any such warnings now with gimp exporting to png with the same versions as JWR.  Do you, by chance, have an older libpng?  If so, perhaps that formerly old symptomless issue has gained a symptom.  Of course if this is true, the cure would be simple enough.

Edit *=similar to the second to last one.  I no longer recieve that message with the current libpng.

Last edited by Trilby (2013-08-31 01:59:28)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#4 2013-08-31 02:05:32

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,676

Re: [resolved] GIMP cannot export to .png

https://bugs.archlinux.org/task/35363
The fix in comment from felixonmars works for me

Online

#5 2013-08-31 03:25:03

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [resolved] GIMP cannot export to .png

Trilby wrote:

I do not get any such warnings now with gimp exporting to png with the same versions as JWR.  Do you, by chance, have an older libpng?  If so, perhaps that formerly old symptomless issue has gained a symptom.  Of course if this is true, the cure would be simple enough.

No. I have libpng 1.6.3-1 and gimp 2.8.6-2.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#6 2013-09-03 21:01:36

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [resolved] GIMP cannot export to .png

skunktrader wrote:

https://bugs.archlinux.org/task/35363
The fix in comment from felixonmars works for me

Thanks for this suggestion. I am definitely going to try this.

One thing I don't understand though is how I can get gimp to produce a correct image in the first place. So if I start with a jpg, say, and then save it as xcf, why doesn't gimp Do The Right Thing vis-a-vis the colour profile. Is this a bug in gimp? I would think that at the very least gimp should offer to correct the profile on export - so I don't see why the gimp developers threw this back as a problem for arch...


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2013-09-03 21:21:44

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,642

Re: [resolved] GIMP cannot export to .png

Have you rebooted?  Maybe the old (shared) library is still in use.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#8 2013-09-04 23:26:14

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,173

Re: [resolved] GIMP cannot export to .png

ewaller wrote:

Have you rebooted?  Maybe the old (shared) library is still in use.

I am pretty sure I had rebooted but perhaps I'm mistaken.

In any case, it seems to be working now so either I was wrong or some update since has fixed it.

Thanks!


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB