PNG was designed to be network-friendly, so naturally it is recognized and supported on all platforms. While PNG graphics can be viewed on the majority of browsers in use today (Versions 4 and up of the "Big Two," except IE4 on the Mac), support for advanced features such as alpha-transparency and gamma correction remains inconsistent, buggy, and conspicuously broken.
Initially, in Navigator and Internet Explorer, PNGs could only be handled as embedded objects (placed with the <embed> tag) and viewed with plug-ins such as PNG Live. Eventually, PNGs became supported as inline images (placed with the <img> tag, like any other web graphic).
As of this writing, the leader in complete PNG implementation is Internet Explorer 5.0 for the Macintosh (unfortunately, the PC team has not followed suit, and PNG support on IE remains buggy for Windows). Netscape 6 also does a good job of supporting PNG's more interesting features.
Table 21-1 lists the more popular browsers capable of displaying PNGs and the features they support. Note that there are a myriad of lesser-known browsers out there that also support PNG in all its glory. For a complete list of PNG behavior on all browsers, see the browser support page on the official PNG web site at http://www.libpng.org/pub/png/pngapbr.html.
Browser |
Progressive display |
Binary transparency |
Alpha-channel transparency |
Gamma correction |
---|---|---|---|---|
Windows |
||||
IE 6 (beta) |
Yes |
partial |
-- |
Yes |
IE 5.5 |
Yes |
partial |
-- |
Yes |
IE 4.0 |
Yes |
partial |
-- |
-- |
NN 6 |
Yes |
Yes |
Yes |
Yes |
NN 4.x |
Yes |
-- |
-- |
-- |
Opera 5 |
Yes |
broken |
-- |
Yes |
Macintosh |
||||
IE 5 |
Yes |
Yes |
Yes |
Yes |
NN 6 |
Yes |
Yes |
Yes |
Yes |
NN 4.x |
Yes |
-- |
-- |
-- |
iCab |
-- |
Yes |
Yes |
-- |
Unix |
||||
IE 6 beta |
Yes |
partial |
-- |
Yes |
IE 5.5 |
Yes |
partial |
-- |
Yes |
IE 5. |
Yes |
partial |
-- |
Yes |
NN 6 |
Yes |
Yes |
Yes |
Yes |
WebTV |
-- |
Yes |
Yes |
Yes |
Copyright © 2002 O'Reilly & Associates. All rights reserved.