Intermediate Web Publishing

GIF versus JPEG

GIF JPEG
  • lossless compression
  • good compression for line art, icons
  • "transparent" backgrounds (example)
  • interlaced and progressive display
  • allows simple animations
  • 256 colors max
  • lossy (variable) compression
  • excellent compression for photos
  • 16.7 million colors
Notes:


[next]Next: Optimizing for download time