In computing, JPEG ( ) (seen most often with the .jpg or .jpeg filename extension) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and image quality.
JPEG typically achieves 10:1 compression with little perceptible loss in image quality. JPEG compression is used in a number of image file formats. JPEG/Exif is the most common image format used by digital cameras and other photographic image capture devices.
Along with JPEG/JFIF, it is the most common format for storing and transmitting photographic images on the World Wide Web. These format variations are often not distinguished and are simply called JPEG. The term “JPEG” is an acronym for the Joint Photographic Experts Group, which created the standard.
The MIME media type for JPEG is image/jpeg (defined in RFC 1341), except in older Internet Explorer versions, which provides a MIME type of image/pjpeg when uploading JPEG images. JPEG/JFIF supports a maximum image size of 65535×65535 pixels – one to four gigapixels (1000 megapixels), depending on aspect ratio (from panoramic 3:1 to square).