Multimedia Content

Web Architecture and Information Management [./]
Spring 2009 — INFO 190-02 (CCN 42509)

Erik Wilde, UC Berkeley School of Information
2009-03-09

Creative Commons License [http://creativecommons.org/licenses/by/3.0/]

This work is licensed under a CC
Attribution 3.0 Unported License
[http://creativecommons.org/licenses/by/3.0/]

Contents E. Wilde: Multimedia Content

Contents

E. Wilde: Multimedia Content

(2) Abstract

Pictures are the only multimedia content on the Web that is widely supported by standardized formats. The most important picture formats are the Graphics Interchange Format (GIF), the Joint Photographic Experts Group (JPEG) format, and the Portable Network Graphics (PNG) format. These picture formats target different application areas and depending on the picture material, choosing one format over the other can make a big difference. While audio and video are not supported by Web browsers, they also have become popular media types on the Web.



E. Wilde: Multimedia Content

(3) Images vs. Graphics

Vector vs. Bitmap

Image Formats

Outline (Image Formats)

  1. Image Formats [4]
    1. Graphics Interchange Format (GIF) [1]
    2. Joint Photographic Experts Group (JPEG) [1]
    3. Portable Network Graphics (PNG) [2]
  2. Video and Audio [7]

Graphics Interchange Format (GIF)

Outline (Graphics Interchange Format (GIF))

  1. Image Formats [4]
    1. Graphics Interchange Format (GIF) [1]
    2. Joint Photographic Experts Group (JPEG) [1]
    3. Portable Network Graphics (PNG) [2]
  2. Video and Audio [7]
Graphics Interchange Format (GIF) E. Wilde: Multimedia Content

(6) Graphic Interchange Format (GIF)

  • RFC 2046 [http://dret.net/rfc-index/reference/RFC2046] registers the oldest graphics format on the Web
  • GIF was subject of a long patent debate
    • the compression technique of GIF (LZW [http://en.wikipedia.org/wiki/Lzw]) had been patented by Unisys (1983)
    • Unisys wanted to get licensing fees from all commercial online uses of GIF
    • Portable Network Graphics (PNG) [Portable Network Graphics (PNG) (1)] was developed as an effort to develop a copyright-free format
    • in 1999, Unisys changed its tactics and wanted to collect one-time fees ($5000-$7500) from all users
    • all GIF-related LZW expired in 2003/2004, so GIF is freely available now
  • GIF's poor features make PNG the better choice anyway
    • 8 bit color (requires dithering for photographs), binary transparency
    • GIF's animation feature is the only thing that is not available in PNG … running-wolf.gif


Joint Photographic Experts Group (JPEG)

Outline (Joint Photographic Experts Group (JPEG))

  1. Image Formats [4]
    1. Graphics Interchange Format (GIF) [1]
    2. Joint Photographic Experts Group (JPEG) [1]
    3. Portable Network Graphics (PNG) [2]
  2. Video and Audio [7]
Joint Photographic Experts Group (JPEG) E. Wilde: Multimedia Content

(8) Joint Photographic Experts Group (JPEG)

  • RFC 2046 [http://dret.net/rfc-index/reference/RFC2046] standardizes the second popular image format for the Web
    • ISO 10918 [http://dret.net/biblio/reference/iso10918] is the standard for the actual image format
  • JPEG has been specifically designed for photographs
    • it always is lossy (it cannot preserve the complete information from a random bitmap)
    • it uses perception-based compression (for example, color precision is sacrificed for brightness)
Average Quality JPEG Low Quality JPEG Lowest Quality JPEG
Q = 50, filesize 15,138 bytes Q = 10, filesize 4,787 bytes Q = 1, filesize 1,523 bytes


Portable Network Graphics (PNG)

Outline (Portable Network Graphics (PNG))

  1. Image Formats [4]
    1. Graphics Interchange Format (GIF) [1]
    2. Joint Photographic Experts Group (JPEG) [1]
    3. Portable Network Graphics (PNG) [2]
  2. Video and Audio [7]
Portable Network Graphics (PNG) E. Wilde: Multimedia Content

(10) Portable Network Graphics (PNG)

png-transparency.png
  • PNG is registered as image/png and is the third major image format
    • PNG was intended to be a royalty- and copyright-free replacement of GIF [Graphics Interchange Format (GIF) (1)]
    • image formats need to supported by browsers and thus take a long time until they are established
    • IE6 implements PNG in a very rudimentary form, IE7 handles PNG correctly
  • PNG has some advantages over GIF and JPEG
    • lossless, compressed palette, grayscale, or true color images
    • 8 bit alpha channel for gradual opacity (blending into the background)
  • JPEG still is the preferred format for photographic pictures
  • GIF still is the preferred format for animated images


Portable Network Graphics (PNG) E. Wilde: Multimedia Content

(11) Alpha Channel Effects

png-transparency.png png-transparency.png png-transparency.png
png-transparency.png png-transparency.png png-transparency.png


Video and Audio

Outline (Video and Audio)

  1. Image Formats [4]
    1. Graphics Interchange Format (GIF) [1]
    2. Joint Photographic Experts Group (JPEG) [1]
    3. Portable Network Graphics (PNG) [2]
  2. Video and Audio [7]
Video and Audio E. Wilde: Multimedia Content

(13) Download vs. Streaming



Video and Audio E. Wilde: Multimedia Content

(14) Streamed Paper



Video and Audio E. Wilde: Multimedia Content

(15) Video and Audio on the Web



Video and Audio E. Wilde: Multimedia Content

(16) Content Delivery Networks (CDN)



Video and Audio E. Wilde: Multimedia Content

(17) CDN Request Routing

CDN Request Routing

Video and Audio E. Wilde: Multimedia Content

(18) Audio on the Web



Video and Audio E. Wilde: Multimedia Content

(19) Video on the Web



E. Wilde: Multimedia Content

(20) Conclusions



2009-03-09 Web Architecture and Information Management [./]
Spring 2009 — INFO 190-02 (CCN 42509)