Image MIME Reference
AVCI
AVC Image (HEIF Container)
image/avci
VS
DICOM Run-Length Encoding
image/dicom-rle
DICOM-RLE
A complete technical comparison of AVC Image (HEIF Container) and DICOM Run-Length Encoding — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | AVCI | DICOM-RLE |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| 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
DICOM Run-Length Encoding
image/dicom-rle
Extension
.dcm.dicom
Container
DICOM (PS3.10)
Compression
Lossless (RLE)
Algorithm
Run-Length Encoding (RLE)
Color Depth
8-bit, 16-bit, 24-bit
Developed by
National Electrical Manufacturers Association (NEMA) / ACR
Released
1993
Magic Bytes
44 49 43 4D (at byte offset 128)
Browser Support Comparison
| Browser | AVCI | DICOM-RLE |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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.
DICOM-RLE
DICOM-RLE Strengths
- Guarantees lossless preservation of critical medical data necessary for diagnostics
- Extremely robust metadata structure containing patient information, modality, and spatial geometry
- Faster to encode and decode than complex compression schemes like JPEG 2000
Limitations
- RLE compression offers very low compression ratios compared to modern codecs like JPEG-LS or JPEG 2000
- Zero support in web browsers or standard consumer image viewers
- Strict data privacy regulations (HIPAA/GDPR) make handling DICOM files complex due to embedded PHI
When to choose which format
AVCI
Use AVCI when…
- Digital Photography
- Camera Capture
- Archival Storage
DICOM-RLE
Use DICOM-RLE when…
- Medical Imaging
- Ultrasound
- X-Rays / CT / MRI
- PACS Archives