Web Browsers Image File Formats

Graphic File Format (GIF)

GIF was developed by CompuServe for online use for line art projects.

Joint Photographic Expert Group (JPEG)

JPG created this format especially for photographs to maintain the millions of colors and quality.

Portable Network Graphics (PNG)

PNG is the latest format that is supported by most browsers plus accommodates millions of colors and lossless compression.
 
Image File FeaturesGIFJPEGPNG
Transparency Yes No Yes
Interlacing/Progressive Rendering Yes Yes Yes
Millions of Colors No Yes Yes
Lossless Compression
some color is lost
Yes No Yes
Expecially for Line Art Yes No Yes
Photographs No Yes Yes
Supported by most Browsers Yes Yes No