Exploring Image Flavors: GIF, JPEG, and PNG

Most new browsers support the two standard image formats and one newer image format. The two standard image formats are called GIF (pronounced either “gif” or “jif”) and JPEG (pronounced “J-peg”). The newer format is PNG (pronounced “ping”).

  • The GIF format is better for images that have blocks of continuous color, usually drawings.

  • The JPEG format is better for photographic images and images that do not have blocks of continuous color—for example, images that contain a color gradient.

  • The PNG format is a replacement for the GIF format. It supports alpha channels that are useful for transparency. Although not as popular as the other two formats, its popularity is growing.

There are several image optimization ...

Get Sams Teach Yourself Macromedia® Dreamweaver® MX in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.