Image MIME Reference
AVCS
AVC Image Sequence (HEIF Container)
image/avcs
VS
JPEG 2000 Compound Image File Format
image/jpm
JPM
A complete technical comparison of AVC Image Sequence (HEIF Container) and JPEG 2000 Compound Image File Format — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | AVCS | JPM |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
AVC Image Sequence (HEIF Container)
image/avcs
Extension
.avcs.heifs
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 73
JPEG 2000 Compound Image File Format
image/jpm
Extension
.jpm.jpgm
Container
ISOBMFF / JPM (ISO/IEC 15444-6)
Compression
Lossy / Lossless / Mixed Raster Content (MRC)
Algorithm
JPEG 2000JBIG2JPEGMMR
Color Depth
1-bit (Text/Masks), 8-bit, 16-bit, 24-bit
Developed by
Joint Photographic Experts Group (JPEG)
Released
2003
Magic Bytes
00 00 00 0C 6A 50 20 20 0D 0A 87 0A ... 66 74 79 70 6A 70 6D 20
Browser Support Comparison
| Browser | AVCS | JPM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
AVCS
AVCS Strengths
- Efficiently stores bursts of images or animations utilizing inter-frame compression
- Leverages the highly compatible and widely hardware-accelerated AVC (H.264) codec
- Robust HEIF container supports extensive metadata, alpha channels, and depth maps
Limitations
- Zero native support in web browsers
- Largely superseded in efficiency by newer sequence formats like HEICS (HEVC) or Animated AVIF (AV1)
- Complicated container structure requires specialized parsing libraries
JPM
JPM Strengths
- Highly optimized for scanned documents, drastically reducing file sizes without sacrificing the readability of text or the quality of embedded photos
- Supports multi-page documents within a single file
- Object-based architecture allows for complex layout representation and independent extraction of elements
Limitations
- Failed to achieve widespread adoption, largely being overshadowed by PDF/A and DjVu
- Zero native web browser compatibility
- Requires complex, specialized software to properly encode and decode the multi-layered MRC structure
When to choose which format
AVCS
Use AVCS when…
- Burst Photography
- Short Animations
- Camera Capture
- Archival Storage
JPM
Use JPM when…
- Scanned Document Archiving
- Mixed Raster Content (MRC) Imaging
- Digital Libraries