JPEG MIME Type

Learn what 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 typeimage/jpeg
Extensions
.jpg.jpeg
Magic numberFF D8 FF
First standardized1992
Created byJoint Photographic Experts Group
Browser supportChrome, Edge, Firefox, Opera, Safari
Example applicationsAdobe Photoshop, Apple Preview
Poly supportYes. Poly recognizes `.jpg` and `.jpeg`, decodes the image with EXIF orientation applied, generates WebP thumbnails, and extracts available EXIF metadata.
Indexed by PolyYes. JPEGs are indexed by filename, EXIF metadata, and a visual embedding. Text visible in an ordinary image is not OCR'd.
Preview in PolyYes. JPEGs open in Poly's image viewer, with derived WebP thumbnails available while browsing.
Poly agentYes. 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

JPEG describes image coding and compression. JFIF defines common interchange conventions for JPEG data, including color interpretation needed for predictable exchange. A JPEG codestream can also appear inside another container, so “JPEG” and “JFIF file” are related but not interchangeable terms.2

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 setJPEG averageWebP averageWebP reduction
Kodak, 24 photos66.0 KB46.5 KB29.5%
Tecnick, 100 images191.0 KB139.0 KB27.2%
Web image sample, about 11,000 images14.4 KB9.9 KB31.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

These are benchmark results, not guarantees. The WebP and JPEG XL figures use different encoders, image sets, and quality methods. Test your own images, and compare decoded quality rather than matching the formats' quality-number settings.

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.
Keep an original before editing a JPEG. Repeatedly changing and exporting a lossy JPEG can add visible compression artifacts.

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.

EXIF fields can reveal private information, including where a photograph was taken. The IANA registration notes that embedded data can disclose information that was not intended for release.1 Review metadata before publishing a sensitive photo.

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 .jxl with MIME type image/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.

PropertyJPEGJPEG 2000
Core standardISO/IEC 10918ISO/IEC 15444
Common extension.jpg, .jpeg.jp2
MIME typeimage/jpegimage/jp2
Coding approachBlock-based discrete cosine transformWavelet transform
CompressionUsually lossyLossy or lossless
Progressive accessProgressive JPEG variantResolution and quality scalability built in
Typical compatibilityNearly universalSpecialized 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

  1. Internet Assigned Numbers Authority. image/jpeg Media Type Registration. 2 3 4
  2. Joint Photographic Experts Group. JPEG 1. 2
  3. International Telecommunication Union. Recommendation T.81: Digital Compression and Coding of Continuous-Tone Still Images.
  4. International Telecommunication Union. Some Little-Known Aspects of the History of the JPEG Still Picture-Coding Standard.
  5. 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
  6. Alakuijala, J., et al. Benchmarking JPEG XL Lossy/Lossless Image Compression. SPIE Photonics Europe, 2020. 2
  7. MDN Web Docs. Image File Type and Format Guide.
  8. Adobe. Save Files in Graphics Formats.
  9. Apple. Convert Image File Types Using Preview on Mac.
  10. Joint Photographic Experts Group. Overview of JPEG XL. JPEG Committee. 2
  11. Joint Photographic Experts Group. Overview of JPEG 2000. JPEG Committee.
© Poly Corp. 2026