
JPEG | GIF |
|---|---|
| Named after Joint Photographic Experts Group (committee that wrote the standard) | Graphics Interchange Format originally developed by Compuserve |
| Lossy compression--images will degrade if decompressed and recompressed | Not lossy--will not loose information in converstion to GIF (slightly sharper) |
| Stores 24-bit/pixel (16 million colors) | Stores 8-bit/pixel (256 or fewer colors) |
| Best for photos, paintings, complex computer-drawn images | Best for artwork (buttons, bars, line art, simple cartoons), images with sharp edges, and simple computer drawn images |
| Not suitable for diagrams or blue prints--produces smudgy line art | Produces large, washed-out photographs |
| Does not support transparency | Supports transparency |
| Should have at least 16-gray levels if used for gray scale | Lossless for gray-scale images of up to 256 levels |
| Can easily provide 20:1 compression of full-color data; can choose quality setting--more compression, less quality | Compression is usually 4:1 |
| Can convert JPEGs to GIFs | Cannot convert GIFs to JPEGs |
