Book description
PNG (Portable Network Graphics) is the next-generation graphics file format for the Web. Designed as an open-source format to replace the proprietary GIF format, PNG is better, smaller, more extensible, and free. Already supported by major software like Macromedia Fireworks, Adobe Photoshop, and Microsoft Office, as well as Netscape Navigator and Microsoft Internet Explorer, PNG is an elegant and feature-rich image format that has finally achieved broad industry support.PNG: The Definitive Guide addresses the needs of both graphic designers who want to get the most out of the format and programmers who want to add full PNG support to their own applications.In the "Using PNG" section, Roelofs covers Web browsers and servers, image viewers, image editors, image converters, and 3D applications, with particular attention to the level of PNG support in each. In the "Design of PNG" section, he includes detailed information on compression and filtering, gamma correction and precision color, PNG options and extensions. In the "Programming PNG" section, he steps through three sample programs that implement PNG with the libpng C library.PNG: The Definitive Guide is the first book devoted exclusively to teaching and documenting this important new image format. It is an indispensable compendium for Web content developers and programmers and is chock full of examples, sample code, and practical hands-on advice.
Table of contents
- Cover Page
- Title Page
- Copyright
- Dedication
- Preface
- Contents
- List of Figures
- List of Tables
- Part I: Using PNG
-
Part II: The Design of PNG
- Chapter 7. History of the Portable Network Graphics Format
-
Chapter 8. PNG Basics
- 8.1. Chunks
- 8.2. PNG Signature
- 8.3. A Word on Color Representation
- 8.4. The Simplest PNG
- 8.5. PNG Image Types
- 8.5.1. Palette-Based
- 8.5.2. Palette-Based with Transparency
- 8.5.3. Grayscale
- 8.5.4. Grayscale with Transparency
- 8.5.5. Grayscale with Alpha Channel
- 8.5.6. RGB
- 8.5.7. RGB with Transparency
- 8.5.8. RGB with Alpha Channel
- 8.6. Interlacing and Progressive Display
- Chapter 9. Compression and Filtering
- Chapter 10. Gamma Correction and Precision Color
-
Chapter 11. PNG Options and Extensions
- Background Color (bKGD)
- Timestamp (tIME)
- Latin-1 Text Annotations (tEXt, zTXt)
- International Text Annotations (iTXt)
- Histogram (hIST)
- Suggested Palette (sPLT)
- Significant Bits (sBIT)
- Physical Pixel Dimensions (pHYs)
- Physical Scale (sCAL)
- Image Offset (oFFs)
- Pixel Calibration (pCAL)
- Fractal Parameters fRAc)
- GIF Conversion Info (gIFg, gIFx)
- GIF Plain Text (gIFt)
- Other Chunks
- Chapter 12. Multiple-image Network Graphics
-
Part III: Programming with PNG
-
Chapter 13. Reading PNG Images
- 13.1. A libpng-Based, PNG-Reading Demo Program
- 13.2. Preliminaries
- 13.3. readpng_init()
- 13.4. readpng_get_bgcolor()
- 13.5. Design Decisions
- 13.6. Gamma and Color Correction
- 13.7. readpng_get_image()
- 13.8. readpng_cleanup()
- 13.9. Compositing and Displaying the Image
- 13.10. Getting the Source Code
- 13.11. Alternative Approaches
- Chapter 14. Reading PNG Images Progressively
- Chapter 15. Writing PNG Images
- Chapter 16. Other Libraries and Concluding Remarks
-
Chapter 13. Reading PNG Images
- References
- Glossary
- Index
- About the Author
- Colophon
Product information
- Title: PNG: The Definitive Guide
- Author(s):
- Release date: June 1999
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565925427
You might also like
audiobook
What's New in AI: Open Source Large Language Models with Eric Xing (Audio)
Join host George Anadiotis and guest Eric Xing, for a discussion about the current and expanding …
book
Fundamental Data Compression
Fundamental Data Compression provides all the information students need to be able to use this essential …
book
Introduction to Data Compression, 4th Edition
Introduction to Data Compression, Fourth Edition, is a concise and comprehensive guide to the art and …
audiobook
What's New in Software Architecture: Data Mesh and the AI Revolution with Zhamak Dehghani (Audio)
Join Neal Ford and Zhamak Dehghani for a discussion about the challenges of creating, sharing, and …