Image MIME Reference
HEIC-Sequence
HEVC Image Sequence (HEIF Container)
image/heic-sequence
VS
Progressive JPEG (Legacy IE Alias)
image/pjpeg
PJPEG
A complete technical comparison of HEVC Image Sequence (HEIF Container) 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 | HEIC-Sequence | PJPEG |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
HEVC Image Sequence (HEIF Container)
image/heic-sequence
Extension
.heics.heic
Container
HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression
Lossy / Lossless
Algorithm
HEVC (H.265)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
Moving Picture Experts Group (MPEG) / Apple
Released
2017
Magic Bytes
XX XX XX XX 66 74 79 70 68 65 76 63
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)
Browser Support Comparison
| Browser | HEIC-Sequence | PJPEG |
|---|---|---|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✓ 11+
|
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓
|
HEIC-Sequence
HEIC-Sequence Strengths
- Incredibly efficient storage for bursts and short animations compared to GIF or motion JPEG
- Supports 16-bit color, HDR, and alpha channel transparency across all frames
- Shares frame data blocks, meaning the base image and animation data are heavily optimized for space
Limitations
- Zero support in web browsers outside the Apple ecosystem (Chrome, Firefox, Edge do not support it)
- Heavily encumbered by HEVC patent pools, hindering open-source adoption
- Complex container structure makes parsing and decoding difficult without specialized libraries
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
HEIC-Sequence
Use HEIC-Sequence when…
- Apple Live Photos
- Burst Photography
- High-Quality Animations
- Cinemagraphs
PJPEG
Use PJPEG when…
- Legacy Internet Explorer File Uploads
- Progressive Image Rendering (Historical context)