Comparison of Image Formats
Graphics Formats for the Web
Property | GIF
Graphics Interchange Format | JPEG
Joint Photographic Experts Group | PNG
Portable Network Graphic | SVG
Scalable Vector Graphics | WebP | |
---|---|---|---|---|---|---|
Color System | 8 bit indexed (256 colors) | RGB (24 bit; millions of colors) |
| RGB | RGB | |
Compression | Lossless Compression (LZW; horizontal repeating units) | "Lossy" Compression
(compression optimized for gradual color changes) | Lossless Compression | Lossless Compression | Lossless and Lossy | |
Other Features |
|
|
|
|
| |
Typical Uses |
|
|
|
|
| |
Property | GIF
Graphics Interchange Format | JPEG
Joint Photographic Experts Group | PNG
Portable Network Graphic | SVG Scalable Vector Graphics | WebP | |
Photograph
250 × 188 px | ![]() 29.3 kb | ![]() 16.8 kb | ![]() 25.8 kb (indexed, 8-bit) | ![]() 81.9 kb (RGB, 24-bit) | N/A | ![]() 9.6 kb |
Illustration
148 × 179 px | ![]() 1.47 kb | ![]() 6.12 kb | ![]() 1.02 kb (indexed, 8-bit) | ![]() 1.89 kb (RGB, 24-bit) | 0.575 kb (compressed, 1.7 kb uncompressed; RGB, 24-bit) | ![]() 0.724 kb |
Hot Air Balloon image is in the Public Domain and was obtained from PD Photo.
Illustration image from the original works of David Heitmeyer