Free webp to jpg
Image MIME Reference
FITS

Flexible Image Transport System

image/fits
VS

Progressive JPEG (Legacy IE Alias)

image/pjpeg
PJPEG

A complete technical comparison of Flexible Image Transport System and Progressive JPEG (Legacy IE Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

PJPEG wins on browser support

Feature Support

Feature FITS PJPEG
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No Yes
HDR Support Yes ✕ No
EXIF Metadata ✕ No Yes
ICC Color Profile ✕ No Yes
Flexible Image Transport System
image/fits
Extension
.fits.fit.fts
Container FITS
Compression Uncompressed / Tile Compressed (Rice, GZIP)
Algorithm
UncompressedRiceGZIPHcompress
Color Depth 8-bit, 16-bit, 32-bit, 64-bit (Float/Double)
Developed by IAU FITS Working Group / NASA
Released 1981
Magic Bytes
53 49 4D 50 4C 45 20 20 3D 20
Full FITS reference →
Progressive JPEG (Legacy IE Alias)
image/pjpeg
Extension
.jpeg.jpg.pjpeg.pjp.jfif
Container JPEG (ISO/IEC 10918-1)
Compression Lossy (DCT)
Algorithm
Discrete Cosine Transform (DCT)
Color Depth 8-bit, 12-bit
Developed by Joint Photographic Experts Group / Microsoft (Alias)
Released 1992
Magic Bytes
FF D8 FF E0 (JFIF) / FF D8 FF E1 (Exif)
Full PJPEG reference →

Browser Support Comparison

Browser FITS PJPEG
Chrome Chrome
✓ All
Firefox Firefox
✓ All
Safari Safari
✓ All
Edge Edge
✓ All
IE IE (Legacy)
FITS

FITS Strengths

  • The undisputed global standard for archiving and sharing astronomical data
  • Self-documenting: Headers are written in plain ASCII, ensuring data is readable decades later regardless of software
  • Supports incredibly high dynamic range, N-dimensional arrays, and complex binary tables
Limitations
  • No support in standard consumer software or web browsers
  • Uncompressed raw FITS files from modern telescopes can be excessively large
  • Does not use standard metadata models like EXIF or XMP, requiring specialized parsers
PJPEG

PJPEG Strengths

  • Progressive JPEGs (which this MIME type attempted to describe) provide excellent perceived loading speeds on slow connections by rendering a low-resolution preview first
  • Files sent with this MIME type are fully backwards compatible with any standard JPEG decoder
Limitations
  • It is a non-standard MIME type that violates IANA specifications
  • Causes strict file upload validation scripts to fail if not explicitly whitelisted or mapped
  • Creates unnecessary confusion, as the official image/jpeg MIME type already fully encompasses progressive encoding

When to choose which format

FITS
Use FITS when…
  • Astronomy & Astrophysics
  • Space Telescope Data (Hubble, JWST)
  • Scientific Data Archiving
  • Spectroscopy
PJPEG
Use PJPEG when…
  • Legacy Internet Explorer File Uploads
  • Progressive Image Rendering (Historical context)
Share this comparison