18.11.2012 Views

PNG - Ideas to Integrated Circuits

PNG - Ideas to Integrated Circuits

PNG - Ideas to Integrated Circuits

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>PNG</strong> Interlacing Demo<br />

How <strong>PNG</strong>'s Two-Dimensional Interlacing Works<br />

(<strong>PNG</strong> Version with MNG and MPEG Animations)<br />

Thousands of people ask Greg every day, ``Just how does two-dimensional interlacing work in the<br />

Portable Network Graphics specification, and what does it mean <strong>to</strong> my sex life?'' Fortunately Greg is in a<br />

unique position (so <strong>to</strong> speak) <strong>to</strong> answer this question once and for all; it can now be laid (as it were) <strong>to</strong><br />

rest.<br />

To demonstrate the stupendously complicated procedure known as Adam7 interlacing in a manner that<br />

even the tiniest brain cell can comprehend, Greg has produced a set of accordingly tiny images<br />

demonstrating the concept. Oliver Fromme, another <strong>PNG</strong> author and also the developer of the QPV<br />

viewer for DOS (formerly QPEG), is <strong>to</strong> be congratulated for the hard work in creating the original shelf<br />

+balls logo that was the basis for this demonstration. Thanks also <strong>to</strong> Alexander Lehmann for the MPEG<br />

animation (101k) of the process and <strong>to</strong> Glenn Randers-Pehrson for the MNG animation (214k).<br />

All of the images on this page, with the exception of the tiny `<strong>PNG</strong>' icons near the bot<strong>to</strong>m,<br />

are actual interlaced <strong>PNG</strong> images. As of May 1997, the <strong>PNG</strong> images are inlined both via<br />

the old IMG tag and also via the newer OBJECT tag; new versions of Naviga<strong>to</strong>r respect<br />

the latter but not the former when loading plugins. As of December 1999, all OBJECT<br />

tags have been removed except on the image above; most browsers still don't support the<br />

tag correctly.<br />

Note that, although the inlined <strong>PNG</strong> images are either the same size as or smaller than<br />

their GIF counterparts (even taking in<strong>to</strong> account the more complex interlacing scheme),<br />

the linked <strong>PNG</strong> images are much larger than the corresponding JPEG versions. Lossy<br />

compression really does make a huge difference -- between 5x and 6x for the small<br />

http://libpng.org/pub/png/pngpic2.html (1 of 5)10/23/06 12:56 PM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!