Image colors are wrong in 'eog'

When I open an image file in eog it displays the wrong color.
Here is a screenshot of the problem:

image

And here is a screenshot of the problem temporarily fixed:

image

by using

xprop -root -remove _ICC_PROFILE

What I wanted to know is there a permanent way of fixing the problem instead of fixing it every time I open eog.

It also happens with gthumb, but I fix it by unchecking the button "Apply the embedded color profile".


I don’t have enough information to know for sure but I think that your problem is in the color profile of the image itself. If that’s the case then I’m fairly sure that I have a solution.
If you have a recent distribution of Ubuntu, then you have ImageMagick. You can check for it by typing just the word “convert” into your terminal. If you get several screens of usage information then you have it. If not, you may want to look for it on the Software Center. Assuming that you have ImageMagick, open your terminal, navigate to the directory where you image file is and type:

Convert “filename” –colorspace RGB  “newfilename”

Where “filename” is the name of your image and “newfilename” is what you want to call the modified version. Now try opening “newfilename” in eog and let us know what happens.