Image MIME Reference
AVCS
AVC Image Sequence (HEIF Container)
image/avcs
VS
Canon Raw Version 2
image/x-canon-cr2
Canon-CR2
A complete technical comparison of AVC Image Sequence (HEIF Container) and Canon Raw Version 2 — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | AVCS | Canon-CR2 |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| 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
Canon Raw Version 2
image/x-canon-cr2
Extension
.cr2
Container
TIFF
Compression
Lossless JPEG (ITU-T81)
Algorithm
Lossless JPEG (ITU-T81)
Color Depth
12-bit (Per Channel), 14-bit (Per Channel)
Developed by
Canon Inc.
Released
2004
Magic Bytes
49 49 2A 00 10 00 00 00 43 52 02 00
Browser Support Comparison
| Browser | AVCS | Canon-CR2 |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
Canon-CR2
Canon-CR2 Strengths
- Retains maximum sensor data, allowing extreme recovery of highlights and shadows that would be permanently lost in a JPEG
- White balance and color profiling are not 'baked in', meaning they can be completely altered in post-production without degrading the image
- Lossless compression ensures perfect pixel accuracy while reducing file size compared to fully uncompressed formats
Limitations
- Proprietary format means it requires constant updates to raw processing engines (like Adobe Camera Raw) every time Canon releases a new camera model
- Produces very large file sizes (often 20MB to 40MB per image depending on sensor resolution)
- Cannot be directly embedded into web pages or used in standard HTML/CSS contexts
When to choose which format
AVCS
Use AVCS when…
- Burst Photography
- Short Animations
- Camera Capture
- Archival Storage
Canon-CR2
Use Canon-CR2 when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- High Dynamic Range (HDR) Imaging Archival