Image MIME Reference
Canon-CRW
Canon Raw Format
image/x-canon-crw
VS
DirectDraw Surface
image/vnd.ms-dds
DDS
A complete technical comparison of Canon Raw Format and DirectDraw Surface — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | Canon-CRW | DDS |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
Canon Raw Format
image/x-canon-crw
Extension
.crw
Container
CIFF (Camera Image File Format)
Compression
Lossless JPEG (ITU-T81)
Algorithm
Lossless JPEG
Color Depth
10-bit (Per Channel), 12-bit (Per Channel)
Developed by
Canon Inc.
Released
1998
Magic Bytes
49 49 1A 00 00 00 (Header) / 48 45 41 50 43 43 44 52 (HEAPCCDR signature near end)
DirectDraw Surface
image/vnd.ms-dds
Extension
.dds
Container
DirectDraw Surface
Compression
Block Compression (BC1-BC7) / DXTC / S3TC / Uncompressed (RGBA, Floating-Point)
Algorithm
DXT1-DXT5BC1-BC7ASTC / ETC2 (Extended)
Color Depth
8-bit, 16-bit, 24-bit, 32-bit (RGBA), 16-bit/32-bit Floating Point (HDR)
Developed by
Microsoft Corporation
Released
1999
Magic Bytes
44 44 53 20
Browser Support Comparison
| Browser | Canon-CRW | DDS |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
Canon-CRW
Canon-CRW Strengths
- Preserves original raw sensor data from foundational early digital SLR cameras, allowing for modern noise reduction and demosaicing algorithms to extract better images than software could in 2003
- Files are remarkably small (often 6-8 MB) compared to modern 40MB+ raw files due to the lower megapixel count of early sensors
Limitations
- Completely obsolete and utilizes the idiosyncratic CIFF structure rather than the modern, standardized TIFF/EP structure
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs
- Less robust metadata support compared to modern CR2 or CR3 formats
DDS
DDS Strengths
- Massively reduces VRAM footprint and memory bandwidth usage because the GPU decodes the block compression in hardware
- Encapsulates complex texture arrays, volume textures, cubemaps, and entire mipmap chains within a single, highly structured file
- Supports high-dynamic-range (HDR) floating-point data for modern physically based rendering (PBR)
Limitations
- Block compression algorithms (like DXT) are lossy and can introduce ugly blocky artifacts, especially in smooth gradients or normal maps if not tuned properly
- Files are generally larger on the physical hard drive than highly compressed formats like PNG or WebP
- Zero support in web browsers or standard consumer image viewers
When to choose which format
Canon-CRW
Use Canon-CRW when…
- Historical Digital Photography (2000-2004)
- Non-destructive Image Post-Processing
- Raw Imaging Archival
DDS
Use DDS when…
- Real-Time 3D Game Textures
- DirectX and Vulkan Rendering Pipelines
- Skyboxes and Environment Cubemaps
- Volume Textures (3D Textures)