Image MIME Reference
AIMG
Universal AI Media Format (Image)
image/prs.aimg
VS
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
Generic-RAW
A complete technical comparison of Universal AI Media Format (Image) and Digital Camera Raw (Generic Linux MIME) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | AIMG | Generic-RAW |
|---|---|---|
| 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 |
Universal AI Media Format (Image)
image/prs.aimg
Extension
.aimg
Container
Universal AI Media Format (AIMF)
Compression
Container (Inherits payload compression, e.g., PNG/JPEG)
Algorithm
None (Pass-through to embedded payload)
Color Depth
Inherited from payload (8-bit, 16-bit, HDR)
Developed by
AI Media Format (ai-mf) Open-Source Project
Released
2026
Magic Bytes
Varies (Custom AIMF Header Prepended to Payload)
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
Extension
.raw
Container
Varies (Predominantly TIFF/EP)
Compression
Lossless / Uncompressed
Algorithm
Varies (Often Lossless JPEG ITU-T81 or uncompressed)
Color Depth
12-bit, 14-bit, 16-bit
Developed by
freedesktop.org (MIME mapping) / Dave Coffin (dcraw tool)
Released
1997
Magic Bytes
Varies by vendor format
Browser Support Comparison
| Browser | AIMG | Generic-RAW |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
AIMG
AIMG Strengths
- Provides a robust, tamper-evident cryptographic wrapper to definitively prove the origin of AI-generated media
- Header-first structure allows verifier nodes and APIs to validate an image's origin without needing to download or decode the entire massive pixel payload
Limitations
- Lacks native rendering support in browsers, requiring server-side extraction or client-side WebAssembly to display the embedded image
- Utilizes the IANA 'prs.' (personal/vanity) tree rather than the standards tree, which can cause strict enterprise firewalls to reject the MIME type as unverified
Generic-RAW
Generic-RAW Strengths
- Provides a unified, highly useful catch-all MIME type for application developers who just need to know if a file is a raw image, rather than tracking 50+ individual camera extensions
- Deeply integrated into the Linux desktop ecosystem, ensuring file manager thumbnails work seamlessly via tools like ufraw-thumbnailer
Limitations
- Not an official IANA standard
- Can cause conflicts where standard TIFF files are misidentified as raw camera data by over-aggressive MIME sniffers
- The underlying 'dcraw' tool was abandoned by its creator in 2018 (though its successor, LibRaw, continues to maintain the ecosystem)
When to choose which format
AIMG
Use AIMG when…
- AI Provenance and Attribution
- Verifiable Deepfake Prevention
- Cryptographic Media Watermarking
- Generative AI Workflows
Generic-RAW
Use Generic-RAW when…
- Linux Desktop File Associations (GNOME/KDE)
- Thumbnail Generation for Raw Images (UFRaw/LibRaw)
- Server-side Image Processing Fallbacks