How can I prevent Gimp from automatically changing colors of a .png?


Question

So I am editing a .png file from a website that I am working on. I downloaded the image (.png) and it has a yellow/green color in one of the objects. This color is important because it matches with the rest of the website's color scheme.

However, when I made my edits and saved as a new file, the green color was noticeably different.

I wondered if it was my fault on accident, so I opened the original file and saved it to a different name without editing or touching any part of the image. Yet still the color was noticeably different again.

    Original Color: rgb(141, 184, 73)
  Color After Save: rgb(127, 190, 65)

Is there any way to prevent this from happening in Gimp?

1
5
8/20/2014 11:04:00 PM

Accepted Answer

This has to do with image color profiles - in GIMP, before opening your file for editing, go to edit->preferences, and in the Color Management page, set the File Open Behavior to Ask What To Do - then try different actions - one of which should preserve the numeric color values.

1
8/22/2014 3:42:00 PM

Licensed under: CC-BY-SA with attribution
Not affiliated with: Stack Overflow
^