Edwin F wrote:
On 4/24/06, Roy Britten <[EMAIL PROTECTED]> wrote:
On Mon, 2006-04-24 at 14:16 +1200, Steve wrote:
I've got a bit of a problem with a website and, surprise, surprise, IE.
I've got a png image that has a transparent background, which doesn't
display properly in IE, as it doesn't support transparent pngs. When I
use the gimp to convert it to a gif, I end up with an image of appalling
quality.
I've generally had success with using gimp for conversions of this type.
What's the problem with the resulting gif?
Roy.
The problem is that the GIF format has only a 1-bit transparency mask,
as opposed to PNG, which is 8-bit. In other words, A pixel on a GIF
image can only be opaque or transparent with no in-between. I think.
That's correct. It is also unfortunately the reason your problem cannot
be solved with GIFs, if your problem is jagged non-blended transparency.
If you want a decent-looking transparent image in IE your only real
choice is to fake it with a composite image of your foreground and
background portions. For example, put the foreground image as a layer
over the background image in the GIMP until you have it looking good,
flatten it and export it to whatever non-transparent format you want
(JPEG or PNG).
If people want to support IE (note I said 'if' :) ) you're pretty much
stuck with this method until IE starts properly supporting PNG transparency.
Greg