Could somebody please help me to export an image from GIMP to PNG?

I have an RGB image in GIMP.

enter image description here

When I export the image to JPG I got the expected results:

Exported to JPEG

However, when exporting to PNG Orange color will be changed to GRAY: PNG export

Why is this happening? Am I missing something?

Image is in the PNG mode. Here is the Export PNG dialog which I'm using: PNG export dialog

Layers dialog is here: Layers dialog

  • Hi Jirka I edited your question to add the images, it's better than using an external link to google drive.
    – Luciano
    May 22, 2017 at 9:34
  • 2
    Can you add a screenshot of your PNG Save options dialog? And is the image color-indexed?
    – xenoid
    May 22, 2017 at 10:06
  • I can't replicate the problem. My guess would be you altered something in the PNG export dialog. Press the "Load Defaults" button in the PNG Export dialog to reset it and try again.
    – Billy Kerr
    May 22, 2017 at 10:47
  • I guess there is a Color Option in the Export option...change it from Grayscale to RGB
    – SitiSchu
    May 22, 2017 at 19:37
  • There is no setting in the PNG export dialog which should cause this to happen. If you find one which does, or a combination of the available ones, please tell us. May 22, 2017 at 21:29

1 Answer 1


So - thankfully you linked GIMP's full screenshot. The problem is that what is the active drawable you have when exporting to PNG is not one of the image layers - as you can read on the status bar on the botton, the active drawable is the "selection mask copy".

That is a channel on the channels tab - in GIMP you have one "drawable" object active at a time - drawables can be image layers, layer masks, or channels. Only Layers are color capable, all the other are grayscale drawables - and when one of those is active, that drawable is exported to disk, instead of a merged compose of the visible layers.

The "selection mask copy" mask is created when you pick the Select-> Save to Channel menu option, and made the active drawable. Just click on you layer preview icon on the layers tab to make it active again - and then PNG export will work as expected.

(And to see/reproduce the problem, open the "channels" guide and click on "selection mask copy" before a trial export from there).

  • Thanks a lot for the explanation, you have saved my day! It's interesting to note that Export to JPG is not affected by this - I can see why is that but it's very confusing when Export to JPG gives completely different result than the export to PNG. In your opinion, should we contact GIMP developers to at least give a warning in such situations?
    – Jirka
    May 23, 2017 at 23:49
  • Yes - the behavior should be consistent - you can open a bug for GIMP at bugzilla.gnome.org - - or if you want some more direct contact with the developers, you should use iRC - channel #GIMP on irc.gimp.org
    – jsbueno
    May 24, 2017 at 8:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.