S.B.C.C. -> Computer Science -> Courses -> COMSC 111 -> Class Notes


Image Formats

Preliminaries

GIF

What are GIFs component parts: Blocks and Extensions. Blocks are the most important. The following is a typical file structure:

JPEG

Similar block structure to GIF but with emphasis on compression. Process to produce a JPEG file:

  1. Transform the image into a suitable color space.
  2. (Optional) Downsample each component by averaging together groups of pixels.
  3. Group the pixel values for each component into 8x8 blocks.
  4. Convert to frequency space and quantize.
  5. Package it up.

PNG

Internet Media Type? (image/png)


Last Updated: February 19, 1998
Author: Dean Nevins <dn@picard.sbcc.cc.ca.us>