JPEG MIME Type
image/jpeg files are, how JPEG became a standard, which applications open them, and how Poly supports them. MIME type details for image/jpeg
In active use| MIME type | image/jpeg |
|---|---|
| Extensions | .jpg.jpeg |
| Magic number | FF D8 FF |
| First standardized | 1992 |
| Created by | Joint Photographic Experts Group |
| Browser support | Chrome, Edge, Firefox, Opera, Safari |
| Example applications | Adobe Photoshop, Apple Preview |
| Poly support | Yes. Poly recognizes `.jpg` and `.jpeg`, decodes the image with EXIF orientation applied, generates WebP thumbnails, and extracts available EXIF metadata. |
| Indexed by Poly | Yes. JPEGs are indexed by filename, EXIF metadata, and a visual embedding. Text visible in an ordinary image is not OCR'd. |
| Preview in Poly | Yes. JPEGs open in Poly's image viewer, with derived WebP thumbnails available while browsing. |
| Poly agent | Yes. The Poly agent receives a rendered image, normally the largest generated thumbnail up to 1536 pixels, and can reason about its visual content. |
What MIME type does image/jpeg represent?
The image/jpeg media type identifies JPEG images using the JPEG File Interchange Format (JFIF). JPEG is best known for lossy compression, which can make photographs much smaller while preserving a convincing amount of visual detail. The current IANA registration has no required or optional media-type parameters.1
A JPEG begins with the bytes FF D8 FF: the start-of-image marker followed by another marker. Its registered extensions are .jpg and .jpeg. Both mean the same thing.1
The signature alone does not prove that a file is safe or fully decodable. A parser still has to validate marker lengths, dimensions, and segment contents. Conversely, renaming a PNG or AVIF file to .jpg does not convert its bytes.
History of image/jpeg
The Joint Photographic Experts Group began its JPEG work in 1986. JPEG 1 arrived in 1992.2 The corresponding ITU-T Recommendation T.81 was approved on September 18, 1992.3 That standard helped create a practical, interoperable way to store and exchange continuous-tone still images.
JPEG became especially useful as digital photography and the web grew. Its compression was a good match for photographs, where subtle changes introduced by lossy encoding are often less noticeable than they would be in text or line art. ITU later described JPEG as one of the technologies that helped make digital images broadly accessible.4
How efficient is JPEG compression?
JPEG has no single compression ratio. File size changes with the image, encoder, chroma subsampling, and quality setting. A smooth portrait usually compresses better than foliage, film grain, or sharp text. Comparing a 2 MB source with a 200 KB JPEG gives a 10:1 ratio, or a 90% size reduction, but that number says nothing about visual quality by itself.
Newer codecs can usually reach similar visual quality with fewer bytes. One reproducible Google study encoded lossless source images as JPEG and WebP, then matched their Structural Similarity Index (SSIM). At the quality corresponding to JPEG quality 75, it reported these averages:5
| Test set | JPEG average | WebP average | WebP reduction |
|---|---|---|---|
| Kodak, 24 photos | 66.0 KB | 46.5 KB | 29.5% |
| Tecnick, 100 images | 191.0 KB | 139.0 KB | 27.2% |
| Web image sample, about 11,000 images | 14.4 KB | 9.9 KB | 31.3% |
Across all quality levels and test sets in that study, WebP files were 25% to 34% smaller than JPEG at equivalent or slightly better SSIM.5 A separate JPEG XL evaluation reported 60% savings against JPEG at equivalent visual quality. It also reduced existing JPEG files by 22% while preserving enough information to reconstruct the original JPEG byte for byte.6
How to open an image/jpeg file
Current versions of Chrome, Edge, Firefox, Opera, and Safari can display JPEG images directly.7 Most desktop and mobile photo applications open them too.
For editing or exporting:
- Adobe Photoshop can save images in JPEG format.8
- Apple Preview can open an image and export it to JPEG or another available format.9
- A browser is often enough when you only need to view the file.
Support in Poly
Poly provides rich support for JPEG files. According to Supported File Types, Poly:
- Creates thumbnails at several sizes.
- Opens JPEGs in the image viewer.
- Extracts EXIF data, including dates, GPS coordinates, camera details, and comments.
- Finds them by filename and visual similarity.
- Makes their visual content available to the Poly agent.
Plain images are not OCR'd, so words visible inside a JPEG are not searchable as text.
Poly's agent-reading path normally supplies the largest generated WebP thumbnail whose longest edge is at most 1536 pixels. Before thumbnails exist, it can fall back to the original JPEG when the file is no larger than 4 MiB. This is enough for visual interpretation, but it is not a byte-for-byte inspection of the original file or its complete metadata.
Converting to other common file types
Choose a destination based on what you need:
- PNG for lossless storage, sharp graphics, or transparency.
- WebP or AVIF for modern web delivery.
- TIFF for editing or archival workflows.
Conversion cannot restore detail already discarded by JPEG compression. Converting a JPEG to PNG makes subsequent saves lossless, but it does not recreate the original pixels.
Successors to JPEG
Several formats have tried to improve on JPEG, although not all are formal members of the JPEG standards family:
- JPEG 2000 replaced JPEG's block-based transform with wavelet coding. It added lossless compression and flexible progressive decoding, but never matched JPEG's universal software support.
- WebP brought more efficient lossy compression, lossless images, transparency, and animation into one web-oriented format.
- AVIF applies AV1 video-coding tools to still images. It supports HDR, wide color gamuts, transparency, and high bit depths.
- JPEG XL, stored as
.jxlwith MIME typeimage/jxl, was designed as a broad replacement for JPEG 1. The ISO/IEC 18181 standard targets efficient web delivery and professional photography.10
JPEG XL was created to solve more than file size. It supports lossy and lossless coding, HDR, wide-gamut color, high bit depths, alpha channels, animation, thumbnails, and progressive decoding. Its unusual migration feature can transcode an existing JPEG into a smaller JPEG XL file and later reconstruct the exact original JPEG. This lets an archive store one compact file without introducing another lossy generation.610
The practical choice still depends on compatibility. JPEG remains the safest interchange format. WebP and AVIF are useful for modern web delivery. JPEG XL is especially interesting for high-quality masters, archives, and workflows that need a reversible path from a large JPEG collection.
Is JPEG the same as JPEG 2000?
No. JPEG and JPEG 2000 were created by the same standards committee, but they use different compression systems and produce incompatible files.
| Property | JPEG | JPEG 2000 |
|---|---|---|
| Core standard | ISO/IEC 10918 | ISO/IEC 15444 |
| Common extension | .jpg, .jpeg | .jp2 |
| MIME type | image/jpeg | image/jp2 |
| Coding approach | Block-based discrete cosine transform | Wavelet transform |
| Compression | Usually lossy | Lossy or lossless |
| Progressive access | Progressive JPEG variant | Resolution and quality scalability built in |
| Typical compatibility | Nearly universal | Specialized software and workflows |
JPEG 2000 was designed for more flexible image delivery. It supports lossless coding, very high bit depths, progressive decoding by quality or resolution, and access to selected regions without decoding the entire image.11 Those properties made it useful in digital cinema, medical imaging, cultural heritage, and other controlled systems.
Changing a .jp2 extension to .jpg does not convert the image. A JPEG decoder cannot read a JPEG 2000 codestream, and a JPEG 2000 decoder should not assume that an ordinary JPEG is JP2. The image must be decoded and encoded into the other format.
Is JPG the same as JPEG?
Yes. .jpg and .jpeg are alternate extensions for the same media type, image/jpeg.1 Neither extension tells you the exact compression quality or whether JFIF conventions are present.
Footnotes
- Internet Assigned Numbers Authority. image/jpeg Media Type Registration. ↩ ↩2 ↩3 ↩4
- Joint Photographic Experts Group. JPEG 1. ↩ ↩2
- International Telecommunication Union. Recommendation T.81: Digital Compression and Coding of Continuous-Tone Still Images. ↩
- International Telecommunication Union. Some Little-Known Aspects of the History of the JPEG Still Picture-Coding Standard. ↩
- Google. WebP Compression Study. The study compared WebP and optimized JPEG outputs at matched SSIM using standard image sets and a web-image sample. ↩ ↩2
- Alakuijala, J., et al. Benchmarking JPEG XL Lossy/Lossless Image Compression. SPIE Photonics Europe, 2020. ↩ ↩2
- MDN Web Docs. Image File Type and Format Guide. ↩
- Adobe. Save Files in Graphics Formats. ↩
- Apple. Convert Image File Types Using Preview on Mac. ↩
- Joint Photographic Experts Group. Overview of JPEG XL. JPEG Committee. ↩ ↩2
- Joint Photographic Experts Group. Overview of JPEG 2000. JPEG Committee. ↩