Muutke küpsiste eelistusi

Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP [Pehme köide]

  • Formaat: Paperback / softback, 288 pages, kõrgus x laius x paksus: 23x19x20 mm, kaal: 560 g
  • Ilmumisaeg: 14-Sep-1999
  • Kirjastus: Addison-Wesley Educational Publishers Inc
  • ISBN-10: 0201604434
  • ISBN-13: 9780201604436
Teised raamatud teemal:
  • Formaat: Paperback / softback, 288 pages, kõrgus x laius x paksus: 23x19x20 mm, kaal: 560 g
  • Ilmumisaeg: 14-Sep-1999
  • Kirjastus: Addison-Wesley Educational Publishers Inc
  • ISBN-10: 0201604434
  • ISBN-13: 9780201604436
Teised raamatud teemal:
This comprehensive reference on the major graphics file formats and the compression technologies they employ is an indispensable resource for graphics programmers, especially those developing graphical applications for the Web. Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP examines the most common graphics file formats in detail and demonstrates how to encode and decode image files for each. In particular, this book offers in-depth coverage of the elaborate JPEG and newer PNG formats, providing clear explanations of complex concepts, experience-based practical techniques, and plentiful code examples. GIF, XBM, and BMP are also covered, with a focus on some of the less familiar and less well-documented features of these common file formats. Specific topics covered include: *Compression technologies that each file format utilizes *Color models employed by each file format *The advantages and disadvantages of each file format *Huffman Coding *LZW Compression *Deflate/Inflate *Progressive JPEG *The Discrete Cosine Transform *Animated GIF The accompanying CD-ROM contains the complete source code for all of the image formats covered in the book, as well as working examples and sample images. If you want to learn how to read and write graphic file formats for the Web--including PNG and JPEG files--there is no better resource than this book. System requirements: Windows 95 or Windows NT, Borland C++ Builder 3, or Microsoft Visual C++ 5.0. 0201604434B04062001
Preface ix(2)
Acknowledgments xi
Chapter 1 Introduction
1(22)
The Representation of Images
1(2)
Vector and Bitmap Graphics
3(2)
Color Models
5(4)
True Color versus Palette
9(1)
Compression
10(3)
Byte and Bit Ordering
13(3)
Color Quantization
16(2)
A Common Image Format
18(3)
Conclusion
21(2)
Chapter 2 Windows BMP
23(8)
Data Ordering
23(1)
File Structure
24(4)
Compression
28(1)
Conclusion
29(2)
Chapter 3 XBM
31(4)
File Format
31(2)
Reading and Writing XBM Files
33(1)
Conclusion
34(1)
Chapter 4 Introduction to JPEG
35(12)
JPEG Compression Modes
36(3)
What Part of JPEG Will Be Covered in This Book?
39(1)
What are JPEG Files?
40(1)
SPIFF File Format
40(1)
Byte Ordering
41(1)
Sampling Frequency
41(3)
JPEG Operation
44(1)
Interleaved and Noninterleaved Scans
45(1)
Conclusion
46(1)
Chapter 5 JPEG File Format
47(14)
Markers
47(2)
Compressed Data
49(1)
Marker Types
49(6)
JFIF Format
55(2)
Conclusion
57(4)
Chapter 6 JPEG Human Coding
61(16)
Usage Frequencies
61(2)
Huffman Coding Example
63(2)
Huffman Coding Using Code Lengths
65(6)
Huffman Coding in JPEG
71(1)
Limiting Code Lengths
72(1)
Decoding Huffman Codes
73(2)
Conclusion
75(2)
Chapter 7 The Discrete Cosine Transform
77(14)
DCT in One Dimension
78(6)
DCT in Two Dimensions
84(1)
Basic Matrix Operations
85(2)
Using the 2-D Forward DCT
87(1)
Quantization
88(1)
Zigzag Ordering
89(1)
Conclusion
90(1)
Chapter 8 Decoding Sequential-Mode JPEG Images
91(14)
MCU Dimensions
91(3)
Decoding Data Units
94(3)
Decoding Example
97(1)
Processing DCT Coefficients
98(1)
Up-Sampling
99(1)
Restart Marker Processing
99(1)
Overview of JPEG Decoding
100(1)
Conclusion
100(5)
Chapter 9 Creating Sequential JPEG Files
105(16)
Compression Parameters
105(6)
Output File Structure
111(1)
Doing the Encoding
111(1)
Down-Sampling
112(1)
Interleaving
113(2)
Data Unit Encoding
115(2)
Huffman Table Generation
117(2)
Conclusion
119(2)
Chapter 10 Optimizing the DCT
121(28)
Factoring the DCT Matrix
121(16)
Scaled Integer Arithmetic
137(1)
Merging Quantization and the DCT
138(10)
Conclusion
148(1)
Chapter 11 Progressive JPEG
149(22)
Component Division in Progressive JPEG
149(2)
Processing Progressive JPEG Files
151(1)
Processing Progressive Scans
152(1)
MCUs in Progressive Scans
153(1)
Huffman Tables in Progressive Scans
153(1)
Data Unit Decoding
154(6)
Preparing to Create Progressive JPEG Files
160(2)
Encoding Progressive Scans
162(1)
Huffman Coding
162(1)
Data Unit Encoding
162(7)
Conclusion
169(2)
Chapter 12 GIF
171(18)
Byte Ordering
172(1)
File Structure
172(6)
Interlacing
178(1)
Compressed Data Format
178(8)
Animated GIF
186(1)
Legal Problems
187(1)
Uncompressed GIF
188(1)
Conclusion
188(1)
Chapter 13 PNG
189(26)
History
190(1)
Byte Ordering
190(1)
File Format
190(5)
File Organization
195(1)
Color Representation in PNG
195(2)
Device-Independent Color
197(4)
Gamma
201(1)
Interlacing
202(1)
Critical Chunks
203(3)
Noncritical Chunks
206(6)
Conclusion
212(3)
Chapter 14 Decompressing PNG Image Data
215(18)
Decompressing the Image Data
215(6)
Huffman Coding in Deflate
221(1)
Compressed Data Format
222(1)
Compressed Data Blocks
223(4)
Writing the Decompressed Data to the Image
227(4)
Conclusion
231(2)
Chapter 15 Creating PNG Files
233(12)
Overview
233(1)
Deflate Compression Process
234(4)
Huffman Table Generation
238(3)
Filtering
241(2)
Conclusion
243(2)
Glossary 245(4)
Bibliography 249(4)
Index 253


John Miano is Chief Engineer of Colosseum Builders, Inc., where he specializes in Web applications for the entertainment and broadcasting industries. He is the author of Borland C++ Builder How-To and has written articles on programming for various computer publications. He holds a bachelor's degree in mathematics from the College of Wooster.





0201604434AB04062001