Newbie Question: Why Does Exporting As PNG Darken The Colors?

Hello. :slightly_smiling_face:

I apologize if this has been answered before but I did a bit of a search for the answer and I couldn’t find it.

I was doing some tutorials to learn GIMP but ran into an issue when I try to export a project as PNG. The colors come out darker than they should be like so:

Original color:

PNG export color:

If I export it as a JPG the colors come out as they should. The only way to avoid the issue as a PNG export is to uncheck “Save color profile” in the Export menu.

Obviously it’s something with the color profile but I don’t know what it is and what setting I need to adjust in order to avoid this other than unchecking that “Save color profile” option.

Thanks in advance.

For the longest time, PNGs have had profile compatibility issues. Things may have progressed albeit slowly. Which brings me to this question: which colour managed and PNG profile compatible apps have you checked? Do they all consistently show this colour?

I’m not sure what you mean but this is the first time I’ve worked with a photo editing app. Like I said, I’m a newbie and ran into this issue while learning GIMP. :slightly_smiling_face:

Good morning, @DRM,

I tried to repeat your problem, but here, everything looks normal!?!

Screenshot_20200315_083405

Please be more specific:
Operating system?
Gimp version?
Monitor?
What tutorial where you following? Where does it go astray?

Have fun!
Claes in Lund, Sweden

Good morning, Claes.

  • Windows 10
  • Gimp version 2.10.18
  • I’m not sure why the monitor would matter. Can you see the difference between the original color and the PNG export color I posted?
  • I was following the Liquid Dispersion tutorial by Logos By Nick:

This was the first time that I noticed this issue when I tried to export the tutorial project. Since then, this issue has happened again like when I recently brought in a png snapshot I was sent of something then I tried to rotate the image and crop it in GIMP. When I tried to export it the issue happened again.

1 Like

How are you viewing the exported photo? With Gimp or an image viewer?

I’m not sure why the monitor would matter

Because certain monitors are not especially uniform when presenting colours. An icon at the top of the monitor looks quite different from a copy of it, placed at the bottom. As well as when viewed from different angles.

I just performed the same test as I did above, now on Win 10
and the version of the Gimp that I have there, i.e. 2.10.14
capture

Yes, I clearly see the difference between the two patches that you posted.

1 Like

Makes sense. We are all here to learn. :sunny: Let me break down the 2 things that I mentioned briefly:

1 Tagging. Not all apps are compatible with the more obscure PNG tags, particularly the colour profile. This has been an ongoing issue for 2 decades because they are much less popular than JPGs, so devs don’t see it as a priority to add the compatibility, or aren’t even aware of the issue. I think GIMP at this point in time can read and write PNGs properly. Please verify.

2 Colour management. This is a complex topic that you could read more about in other threads. I explained it too many times to want to do it again. :stuck_out_tongue: Essentially, the camera, monitor, your eyes, etc., etc., see or want to see or show the data differently. Colour management allows us to be on the same wavelength, to make it an idiom.

Hope this helps!