Image MIME Reference
AIMG
Universal AI Media Format (Image)
image/prs.aimg
VS
Progressive JPEG (Legacy IE Alias)
image/pjpeg
PJPEG
A complete technical comparison of Universal AI Media Format (Image) and Progressive JPEG (Legacy IE Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
PJPEG wins on browser support
Feature Support
| Feature | AIMG | PJPEG |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | ✕ No | Yes |
| HDR Support | Yes | ✕ No |
| 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)
Progressive JPEG (Legacy IE Alias)
image/pjpeg
Extension
.jpeg.jpg.pjpeg.pjp.jfif
Container
JPEG (ISO/IEC 10918-1)
Compression
Lossy (DCT)
Algorithm
Discrete Cosine Transform (DCT)
Color Depth
8-bit, 12-bit
Developed by
Joint Photographic Experts Group / Microsoft (Alias)
Released
1992
Magic Bytes
FF D8 FF E0 (JFIF) / FF D8 FF E1 (Exif)
Browser Support Comparison
| Browser | AIMG | PJPEG |
|---|---|---|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓
|
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
PJPEG
PJPEG Strengths
- Progressive JPEGs (which this MIME type attempted to describe) provide excellent perceived loading speeds on slow connections by rendering a low-resolution preview first
- Files sent with this MIME type are fully backwards compatible with any standard JPEG decoder
Limitations
- It is a non-standard MIME type that violates IANA specifications
- Causes strict file upload validation scripts to fail if not explicitly whitelisted or mapped
- Creates unnecessary confusion, as the official image/jpeg MIME type already fully encompasses progressive encoding
When to choose which format
AIMG
Use AIMG when…
- AI Provenance and Attribution
- Verifiable Deepfake Prevention
- Cryptographic Media Watermarking
- Generative AI Workflows
PJPEG
Use PJPEG when…
- Legacy Internet Explorer File Uploads
- Progressive Image Rendering (Historical context)