On Wed, 2004-11-17 at 13:11 +1300, Zane Gilmore wrote:
> png will also do transparency.
> I'm pretty sure all the browsers will handle png transarency nowadays.
You are almost correct, Zane :) IE will render PNG images, but it does
not do the transparency properly. This is not surprising because it took
Gecko a very long time to support PNG properly, and they had it as a
priority!
For those that are wondering what is so hard about transparency with PNG
images, it is due to the fact that they can have *levels* of
transparency, not just transparent or opaque like a GIF. This means the
browser has to do some funky math to figure out the colour of each
pixel. For example, go to
http://ldots.org/about.html
change the stylesheet to Ginga, and mouse over the three dots at the top
left of the page. That is transparency with PNG images.
--
Michael JasonSmith http://www.ldots.org/