When to use JPEG, GIF or PNG.
May 18, 2008
Here is a straightforward overview of when you should – and shouldn’t -use each of the three most popular image extensions for web.
USE JPEG for
- Photographs (Never GIF or PNG!!!)
- Complex images with millions of colors
- Clip art
- When you require ‘lossy’ (reducing quality to improve download speed)
DO NOT use JPEG for
- Images containing text
- Images with large areas of solid color
- Images that require crips edges
- Simple images with few colours
USE GIF for
- Images with less than 256 colours
- Simple shapes (i.e custom bullets)
- Animated Images
- Flat colour images
- Images containing text
DO NOT use GIF for
- Photographs (causes banding and pixelation).
- Images with ’gradients’.
USE PNG for
- ‘Alpha transparency’
- Animated Images
- For reducing file sizes below .gif format
- Images ‘with gradients’
- Images containing text
Do NOT use PNG for
- Photographs (causes pixelation)
- If you require IE to support specail features.
There – That wasn’t too painful.
Entry Filed under: ALED'S top 10 tips. .
Trackback this post | Subscribe to the comments via RSS Feed