Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL
Help

Table of Contents - Pg. v

Table of Contents Copyright . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii Part I. Introduction to Web Graphics 1. Image File Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.1 Network Graphics Basics 1.1.1 Fields and Streams 1.1.2 Color Tables 1.1.3 Transparency and Alpha 1.1.4 Compression 1.1.5 Interlacing 1.1.6 GIF, PNG, JPEG: Which to Use When? 1.2 Graphics Interchange Format (GIF) 1.2.1 The Header Block 1.2.2 The Global Color Table Block 1.2.3 The Image Block(s) 1.2.4 The Extension Block(s) 1.3 Portable Network Graphics (PNG) 1.3.1 The header chunk 1.3.2 The palette chunk 1.3.3 The Image Data chunk 1.3.4 Ancillary chunks 1.4 JPEG 1.4.1 The JPEG Encoding Process 1.5 References 3 4 4 5 7 9 12 16 18 19 19 20 23 25 26 27 27 27 28 30 2. Serving Graphics on the Web . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 2.1 The Server and CGI 2.1.1 The CGI.pm Module 34 35 v