or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $6.77 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP [Paperback]

John Miano (Author)
3.8 out of 5 stars  See all reviews (9 customer reviews)

List Price: $59.99
Price: $43.94 & this item ships for FREE with Super Saver Shipping. Details
You Save: $16.05 (27%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 4 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more

Formats

Amazon Price New from Used from
Hardcover, Import --  
Paperback $43.94  
Sell Back Your Copy for $6.77
Whether you buy it used on Amazon for $14.41 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $6.77.
Used Price$14.41
Trade-in Price$6.77
Price after
Trade-in
$7.64

Book Description

0201604434 978-0201604436 August 29, 1999
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

Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP + JPEG: Still Image Data Compression Standard (Digital Multimedia Standards) (Digital Multimedia Standards S.) + JPEG2000: Image Compression Fundamentals, Standards and Practice (The International Series in Engineering and Computer Science)
Price For All Three: $316.11

Show availability and shipping details

Buy the selected items together


Editorial Reviews

Amazon.com Review

Compressed Image File Formats is an appealingly compact and useful guide to some of today's most popular file formats used for image data. For any programmer who needs to know how images are stored, this concise reference can serve as a really invaluable resource.

Besides full coverage of the popular BMP, GIF, and PNG file formats, the book zeroes in on the JPEG standard, perhaps today's most popular (and most complicated) image format. In a series of short chapters, the book looks at JPEG in detail, from basic file organization (its format and marker fields), file compression techniques (like Huffman coding and DCT), and how to decode (read) and encode (write) JPEG images. By condensing hundreds of pages of specifications and documentation from the voluminous JPEG standard into this short volume, the author has created a worthwhile summary of key JPEG features and compression techniques useful to any graphics programmer.

The book also includes C++ code for a simple JPEG encoder (on the accompanying CD-ROM). This example can get you started compressing images using the JPEG format. In addition, the book discusses techniques for creating and decoding progressive JPEGs (used for downloading images in stages, in progressively finer resolutions, over the Internet).

Whether you are a programmer faced with decoding or encoding image data, or an interested Webmaster who wants to know the pros and cons of today's image file formats, Compressed Image File Formats provides a worthwhile and concise reference to what's inside image files. --Richard Dragan

Topics covered: bitmap basics, color models, Windows BMP file format, XBM file format, JPEG basics and file format, JPEG File Interchange Format (JFIF), JPEG Huffman Coding, data unit encoding, Discrete Cosine Transform (DCT), matrix operations, JPEG decoding and encoding, progressive JPEG, GIF file format and compression, and PNG file format.

From the Inside Flap

The purpose of this book is to instruct the reader on how to write software that can read and write files using various 2-D image formats. I wanted to write a book that explains the most frequently used file formats with enough depth for the reader to implement them, as opposed to one that covered many different formats at a high level or one that avoided the more difficult image formats. As a result, I chose to cover the image file formats that are associated with Web browsers. Those covered in this book (BMP, XBM, JPEG, GIF, and PNG) represent the vast majority of image files that can be found on the Internet. They employ a wide range of encoding techniques and range in implementation difficulty from simple to very complex.

The inspiration for this book was my own frustration resulting from the lack of information on how to implement encoders and decoders for the more complex file formats. Most of the information available was at too high a level, left major gaps, or was very difficult to decipher. I have tried to create a bridge between the programmer and the standards documents.

One issue I faced at the start of this project was which programming language to use for the examples. The intention was to create a book on graphics file formats rather than one on how to write programs to read and write graphics files in a particular language. Therefore, I debated using a language that is easy to read (e.g., Pascal or Ada) or the one most people are likely to use (C++). In the end I felt that its widespread use made C++ the best choice. To make the examples more understandable for non-C++ programmers, I have carefully avoided certain C++ language constructs (e.g., expressions with side effects and integer/boolean interchangeability) that would make the code difficult for them to understand.

In order to make the encoding and decoding processes as clear as possible, I have used a Pascal-like pseudo-code. C++ is used for complete function implementations and pseudo-code for illustrative fragments. These fragments generally contain no error checking.

Because of their generally large size, it was not possible to include working source code for the formats in the book itself. Instead, the accompanying CD-ROM contains the complete source code for encoders and decoders for almost all of the image formats covered. The reader should use the pseudo-code in the text to learn how processes work and the C++ examples on the CD to see how to implement them.

Generally, the decoders implement more features than the encoders. In the decoders I have implemented all of the features needed to decode files that a reader will have any likelihood of encountering on the Internet. For the sake of clarity, the encoders generally implement a smaller feature subset.

In writing the programming examples I have given clarity precedence over execution efficiency and instant portability. The source examples will compile, without modifications, on Microsoft Windows using both Borland C++Builder V3.0 and Microsoft Visual C++ V5.0. Other compilers generally require some modifications to the code.

The descriptions of the encoders and decoders for the various file formats frequently employ the term "user" to describe the source of certain input parameters to the encoding or decoding process. By this I mean the user of the encoder or decoder, not necessarily the person typing at the keyboard. Since image encoders and decoders are incorporated into other applications, such as image viewers and editors, the user in this case would most likely be another piece of software. However, in many situations the "user" application may get some of these parameters directly from a human.

Just as this is not intended to be a book on C++ programming, it is also not intended to be a book on programming in a specific environment. For that information readers will need a book for their particular system.

A project as large as producing a book requires the involvement of many people. Mike Bailey, Eric Haines, Tom Lane, Shawn Neely, and Glenn Randers-Pehrson reviewed the manuscript and provided many invaluable suggestions. Glenn also arranged for me to get the latest proposed PNG standards for the CD. My fellow aviator, Charlie Baumann, was kind enough to provide several of the photographs. Ralph Miano and Margaret Miano assisted with preparing the manuscript. Jean-Loup Gailley answered all my questions on ZLIB. Albert "The Chipster" Copper compiled examples on systems I did not have access to. Most important, Helen Goldstein at AWL guided the process from start to finish. John M. Miano
Summit, New Jersey
miano@colosseumbuilders 0201604434P04062001


Product Details

  • Paperback: 288 pages
  • Publisher: Addison-Wesley Professional (August 29, 1999)
  • Language: English
  • ISBN-10: 0201604434
  • ISBN-13: 978-0201604436
  • Product Dimensions: 9.3 x 7.4 x 0.6 inches
  • Shipping Weight: 1 pounds (View shipping rates and policies)
  • Average Customer Review: 3.8 out of 5 stars  See all reviews (9 customer reviews)
  • Amazon Best Sellers Rank: #848,679 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

9 Reviews
5 star:
 (3)
4 star:
 (4)
3 star:    (0)
2 star:
 (1)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
3.8 out of 5 stars (9 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

42 of 43 people found the following review helpful:
4.0 out of 5 stars A detailed reference guide for programmers., September 27, 1999
By A Customer
This review is from: Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP (Paperback)
I had the opportunity to examine this book both in manuscript and published form, and I must say that I am quite impressed. It provides good overview and detailed implementation notes with source code examples for a variety of image formats. The chapters dedicated to JPEG explore many aspects of the standard and offer suggested implementation notes for both compression and decompression, and the book would be valuable based on this information alone. The remaining chapters discuss the common GIF format and its patent-free successor (PNG) as well as other compressed image formats in regular use. Source code examples in C++ are included in the enclosed CD-ROM along with sample images. In summary, Miano's book provides a sturdy reference for graphics programmers or anyone interested in the details of today's most popular image formats.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


19 of 22 people found the following review helpful:
5.0 out of 5 stars Author Response, June 5, 2003
By 
This review is from: Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP (Paperback)
I thought I would respond to the negative comment regarding JFIF files. As the reader points out, the sample source code on the CD checks for the JFIF header. This reason for this is to be an educational excercise in file formats. As the reader points out, this causes the source code not to work with JPEG files from digital cameras that do not use the JFIF format. The difference between these formats is simply the use of APPn markers (essentially comments).

To make the book source code work with these files you simply need to comment out one line of code -- the place where it checks for the existance JFIF header.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 10 people found the following review helpful:
4.0 out of 5 stars Very goof book for starters, May 5, 2004
By 
V. Jonkers (Tilburg, Netherlands) - See all my reviews
This review is from: Compressed Image File Formats: JPEG, PNG, GIF, XBM, BMP (Paperback)
If you know very little about the technical aspects of file formats, and you want to write your own applications, then this is the book you are looking for.

BUT, if you have limited experience in programming (visual C++ eg.) then this might not be the book for you. Don't expect full source code, it only shows you the way to do it (and adequatly at that). You really need to know the basics of data structures and dictionaries otherwise you won't go much further as reading/writing bitmaps.

Also a bit of knowledge about discrete cosine (Fourier) transforms really helps, otherwise JPEG seems like a magic formulae (and I alway want to know what I'm doing :)

But all in all this is a great book to start from, it really contains all the information you need to handle(read.write):
-BMP
-GIF
-JPG
-PNG files.
Another reviewer complained about incompleteness of the JPEG section, but this standard is so vast that a complete volume could be written about it. The book covers the JFIF file format which 99.9% of the file on the web are.

Enjoy this book! and no, I'm NOT the author!:)

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews







Only search this product's reviews



What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject