1*324bb76bSAndroid Build Coastguard Worker<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2*324bb76bSAndroid Build Coastguard Worker<html> 3*324bb76bSAndroid Build Coastguard Worker<head> 4*324bb76bSAndroid Build Coastguard Worker<title>What's In A GIF</title> 5*324bb76bSAndroid Build Coastguard Worker</head> 6*324bb76bSAndroid Build Coastguard Worker<body> 7*324bb76bSAndroid Build Coastguard Worker<table width='100%' cellpadding='0' summary='Canned page header' bgcolor="#ddd"> 8*324bb76bSAndroid Build Coastguard Worker<tr> 9*324bb76bSAndroid Build Coastguard Worker<td><h2>What's In A GIF</h2></td> 10*324bb76bSAndroid Build Coastguard Worker<td align="center"><img src="../giflib-logo.gif"></td> 11*324bb76bSAndroid Build Coastguard Worker<td align="right">(main page)</td> 12*324bb76bSAndroid Build Coastguard Worker</tr> 13*324bb76bSAndroid Build Coastguard Worker</table> 14*324bb76bSAndroid Build Coastguard Worker 15*324bb76bSAndroid Build Coastguard Worker<div id="body"> 16*324bb76bSAndroid Build Coastguard Worker 17*324bb76bSAndroid Build Coastguard Worker<p>These pages explain down 18*324bb76bSAndroid Build Coastguard Workerto the bit level what's inside a GIF, and are offered in the hope they 19*324bb76bSAndroid Build Coastguard Workerwill be useful to programmers using GIFLIB.</p> 20*324bb76bSAndroid Build Coastguard Worker 21*324bb76bSAndroid Build Coastguard Worker<p>The explanation is in three parts:<p> 22*324bb76bSAndroid Build Coastguard Worker 23*324bb76bSAndroid Build Coastguard Worker<ol> 24*324bb76bSAndroid Build Coastguard Worker<li><a href="bits_and_bytes.html">Bits and Bytes</a> - first we look at the 25*324bb76bSAndroid Build Coastguard Workerfile format that makes up a GIF file</li> 26*324bb76bSAndroid Build Coastguard Worker<li><a href="lzw_image_data.html">LZW Image Data</a> - a closer 27*324bb76bSAndroid Build Coastguard Workerlook at how image data is compressed within a GIF file</li> 28*324bb76bSAndroid Build Coastguard Worker<li><a href="animation_and_transparency.html">Transparency and Animation</a> - 29*324bb76bSAndroid Build Coastguard Workerhow some of the more advanced features of GIF files work</li> 30*324bb76bSAndroid Build Coastguard Worker</ol> 31*324bb76bSAndroid Build Coastguard Worker</div> 32*324bb76bSAndroid Build Coastguard Worker 33*324bb76bSAndroid Build Coastguard Worker<p>Due credit: much of this material was written by one Mike 34*324bb76bSAndroid Build Coastguard WorkerFlickinger in 2005, though it has been significantly revised and 35*324bb76bSAndroid Build Coastguard Workerexpanded for GIFLIB. The illustrations are all his.</p> 36*324bb76bSAndroid Build Coastguard Worker 37*324bb76bSAndroid Build Coastguard Worker</div> 38*324bb76bSAndroid Build Coastguard Worker 39*324bb76bSAndroid Build Coastguard Worker<div style="text-align:center; margin-top: 10px; padding-top: 10px; border-top: #cecece 1px solid"> 40*324bb76bSAndroid Build Coastguard Worker<a href="../index.html">Back to GIFLIB documentation</a> 41*324bb76bSAndroid Build Coastguard Worker</div> 42*324bb76bSAndroid Build Coastguard Worker 43*324bb76bSAndroid Build Coastguard Worker</body> 44*324bb76bSAndroid Build Coastguard Worker 45*324bb76bSAndroid Build Coastguard Worker</html> 46*324bb76bSAndroid Build Coastguard Worker 47