tracknut
11-04-2008, 05:12 PM
I've been redoing some site graphics, and learned something interesting about these formats and their rendering in ie7. Just thought I'd document it here in case it helps someone down the road... or possibly its already been documented somewhere else.
I have a reasonably complicated logo image, that uses gradients in one area, and is rather plain (ie, only 3 colors) in other areas. I needed to slice this image up to place it on a page, and thought I'd be slick and use jpg for the complicated parts, and gif for the simple parts. In Firefox, the parts all went back together nicely. In ie7 though, there was a color shading difference between the parts, which caused one to be able to see lines where the images were sliced. After much fiddling around, it appears to me that the color palettes just aren't working out right in ie7, when mixing these image formats. "orange background" in the jpeg was becoming "lighter orange background" in gif, etc.
I ended up converting all the pieces to png format, and all is well now in both browsers. So if you're finding your colors just a bit "off" in ie7, you might take a look at this scenario.
Dave
I have a reasonably complicated logo image, that uses gradients in one area, and is rather plain (ie, only 3 colors) in other areas. I needed to slice this image up to place it on a page, and thought I'd be slick and use jpg for the complicated parts, and gif for the simple parts. In Firefox, the parts all went back together nicely. In ie7 though, there was a color shading difference between the parts, which caused one to be able to see lines where the images were sliced. After much fiddling around, it appears to me that the color palettes just aren't working out right in ie7, when mixing these image formats. "orange background" in the jpeg was becoming "lighter orange background" in gif, etc.
I ended up converting all the pieces to png format, and all is well now in both browsers. So if you're finding your colors just a bit "off" in ie7, you might take a look at this scenario.
Dave