Hudzilla.org - the homepage of Paul Hudson
Contents > Multimedia > Brief history of web media Wish List | Report Bug | About Me ]

11.1.2     PNG

This is NOT the latest copy of this book; click here for the latest version.

Standing for "Portable Network Graphics", PNG was designed to be a replacement for the GIF format when patents become an issue. Unlike GIF, PNG supports two modes of operation: true-colour, and paletted. PNG does not come with support for animations, although an extension of it, MNG (Multiple Network Graphics) does support it. However, MNG is not supported in most browsers, whereas PNG is.

One of the biggest advantages to PNG is that it supports 8-bit transparency, which means a picture can have variable transparency throughout the picture, whereas GIF was limited to just having one colour or one masked area being transparent.

It is worth noting that Internet Explorer has incomplete support for PNG because it fails to support its transparency properly. Other browsers work fine.

PNG is pronounced "ping", and MNG is pronounced "ming".





<< 11.1.1 GIF   11.1.3 JPEG >>
Table of Contents
Want to see this stuff in print? PHP in a Nutshell takes the core topics covered here, adds in thousands of edits from the editorial team and myself, and combines them to make an unbeatable reference for PHP programmers at all levels.



My latest book has hundreds more tips on how to use PHP, Apache, and MySQL, plus Perl, Python, shell scripts, performance tuning, and more!



Top-right shadow
 
Bottom-left shadow Bottom shadow

Comments from other readers
Be the first to add a comment to this chapter!



Add comment
Please note that by posting a comment here you are committing it to the public domain. This is important so that others can make use of your code themselves, and also so that I can incorporate helpful notes directly into the main text. Comments are limited to 2000 characters in length.

If you are reporting an error in the content, please tell me directly.

Your name/email address:
Your comment:
 
Now, in order to verify that you're a real person, please answer this simple question: what is four plus four?
The answer is:
(please write in
numbers, eg 19)


Top-right shadow
 
Bottom-left shadow Bottom shadow