I ran into this issue today, specifically with a 24-bit transparent PNG, saved via Photoshop's "Save for Web" feature.

The name "Save for Web" should imply a foolproof export of an image, using color profiles, headers, formats, etc that render consistently across all browsers.

This wasn't the case, at least within my Photo Shop CS3 (yes, I'm behind) configuration.

The issue was that Photoshop was converting my PNG image to sRGB. What is sRGB? I have no clue, but Firefox apparently doesn't like it.

While IE and webkit browsers rendered the colors as sampled in Photoshop, Firefox used a slightly "darker" version.

I suppose I can't blame Firefox without any hard evidence, it could actually be IE and webkit browsers that are doing it wrong.

In either case, if you are having the same issue, in the Save For Web dialog, note the little "Right Arrow" button next to the preset dropdown. There is an option to "Convert to sRGB".  You may want to turn this option off.

Also bear in mind, this may only apply to PNG images. The same, opposite, or something entirely different may apply for other image formats.

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *