Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I make Internet Explorer not change the colors in my PNG images

When using PNG files (made with Paint.NET) as background images on my web site, IE7 is changing the colors and actually displaying a darker version of my images, as seen here. In this image, the dark background and background image should be both #001122, and the medium background and background image #004466. But IE7 changes the images to #000C1A and #003A5B respectively. No problem with FF3.

like image 845
Martin Plante Avatar asked Sep 16 '08 19:09

Martin Plante


1 Answers

IE has a known bug with PNG gamma info, though I thought they had fixed it in version 7 :-?

I remove the gamma info from PNG files using "PNG Crush". I've created a right-click shortcut in Windows explorer. Further info: using pngcrush in windows

like image 183
Álvaro González Avatar answered Oct 07 '22 14:10

Álvaro González