Image MIME Reference
Canon-CR2
Canon Raw Version 2
image/x-canon-cr2
VS
FlashPix
image/vnd.fpx
FPX
A complete technical comparison of Canon Raw Version 2 and FlashPix — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Canon-CR2 | FPX |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | Yes |
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
FlashPix
image/vnd.fpx
Extension
.fpx
Container
Microsoft OLE Structured Storage (COM)
Compression
JPEG (Lossy) / Uncompressed / Single-color (Solid)
Algorithm
JPEGNone
Color Depth
8-bit (Grayscale/Indexed), 24-bit (RGB), 32-bit (CMYK/RGBA)
Developed by
Eastman Kodak, Microsoft, Hewlett-Packard, Live Picture
Released
1996
Magic Bytes
D0 CF 11 E0 A1 B1 1A E1
Browser Support Comparison
| Browser | Canon-CR2 | FPX |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
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
FPX
FPX Strengths
- Allowed early, low-RAM computers to view and edit massive, high-resolution digital photos instantly by only loading the needed tiles and resolutions
- Pioneered the multi-resolution pyramid and tiling concepts heavily used today in modern deep-zoom and web mapping applications (like Google Maps)
Limitations
- Completely obsolete and unsupported by modern web browsers or operating systems
- Uses the complex, proprietary Microsoft OLE container format, making it incredibly difficult to parse or extract data from without dedicated legacy libraries
- Prone to being misidentified by MIME sniffers as an old Microsoft Office document
When to choose which format
Canon-CR2
Use Canon-CR2 when…
- Professional Digital Photography
- Non-destructive Image Post-Processing
- High Dynamic Range (HDR) Imaging Archival
FPX
Use FPX when…
- Legacy Digital Photography
- Kodak Picture CDs (Historical)
- Early High-Resolution Image Viewers