Image MIME Reference
AVCI
AVC Image (HEIF Container)
image/avci
VS
Progressive JPEG (Legacy IE Alias)
image/pjpeg
PJPEG
A complete technical comparison of AVC Image (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 | AVCI | PJPEG |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
AVC Image (HEIF Container)
image/avci
Extension
.avci.hif
Container
HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression
Lossy / Lossless
Algorithm
AVC (Advanced Video Coding / H.264)
Color Depth
8-bit, 10-bit, 12-bit
Developed by
Moving Picture Experts Group (MPEG) / ISO/IEC JTC 1
Released
2015
Magic Bytes
XX XX XX XX 66 74 79 70 61 76 63 69
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 | AVCI | PJPEG |
|---|---|---|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓
|
AVCI
AVCI Strengths
- Shares the robust, flexible HEIF container architecture that allows for rich metadata, HDR, and depth maps.
- Backed by the highly ubiquitous AVC (H.264) codec, which is widely supported in hardware decoding.
- Supports rectangular cropping and rotation metadata without needing to re-encode the pixel data.
Limitations
- No native support within web browsers for HTML rendering.
- Inferior compression efficiency when compared to newer container formats like HEIC (HEVC) or AVIF (AV1).
- Easily confused with HEIC and AVIF, which use the same base ISOBMFF container.
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
AVCI
Use AVCI when…
- Digital Photography
- Camera Capture
- Archival Storage
PJPEG
Use PJPEG when…
- Legacy Internet Explorer File Uploads
- Progressive Image Rendering (Historical context)