PNG images are great for Web work, but there's one problem that was really getting on my nerves: the color correction problem. PNG images, like many other formats, support embedded ICC profiles for color management. For websites this feature can become a big hassle since some Internet browsers (namely, Safari 3.x and up) will adjust the gamma and colors of images according to their embedded profiles, but the colors defined in CSS stylesheets are viewed with the native color profile. So if an image with an embedded ICC profile is used in combination with "background: " rules defined in a CSS stylesheet, the image will not match the background color of the page!
Fortunately, GIMP is capable of converting an image's embedded profile into the sRGB profile which was designed for use on the Internet.
First, GIMP requires a bit of setup:
Once GIMP has been informed about which ICC profile your display is using, it can convert embedded profiles to the sRGB workspace:
Comments
Thank you...
I realised it was the embedded colour profiles that were causing me grief some time a go, when I read this forum posting about Firefox 3.5+ doing the exact same thing. I was just learning to live with it when I found this - the power of GIMP never ceases to amaze me! :)