Home : Graphics : Formats : JPG

The JPEG (JPG) File Format

JPEG is one of the most popular image formats, being used in photography, video, print, web design and pretty much every type of media production.

The Joint Photographic Experts Group was formed in 1986. The first JPEG standard was released in 1992.

JPEG files are most often used for photographs and other images that require a high number of colors with smooth variations. JPEGs are excellent for distributing low-file-sized versions of images, and for displaying images on web pages where file size is an issue. However the lossy nature of the compression means that JPEGs are not well suited for editing or archiving high-quality masters. JPEGs should never be used when an exact replica of an image is required (e.g. scientific imaging).

JPEGs do not work so well with images containing a small number of sharply contrasting colors, line art, text and similar graphical images. This type of image is better suited to PNG, GIF or any lossless format.

Example

The image below has been saved in Photoshop using five different quality settings. In Photoshop, a higher setting number means higher quality (less compression). The goal is to find the best compromise between low file size and acceptable quality. Experiment to get the best results for any given image.

12 Quality: 12 (Maximum)
File Size: 55 KB
9 Quality: 9
File Size: 34 KB
6 Quality: 6
File Size: 30 KB
3 Quality: 3
File Size: 27 KB
0 Quality: 0 (Minimum)
File Size: 25 KB