Image MIME Reference
APNG
Animated Portable Network Graphics
image/vnd.mozilla.apng
VS
Kodak K25 Raw Image
image/x-kodak-k25
Kodak-K25
A complete technical comparison of Animated Portable Network Graphics and Kodak K25 Raw Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
APNG wins on browser support
Feature Support
| Feature | APNG | Kodak-K25 |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | Yes | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | Yes | Yes |
| ICC Color Profile | Yes | ✕ No |
Animated Portable Network Graphics
image/vnd.mozilla.apng
Extension
.apng.png
Container
PNG Chunk Stream
Compression
Deflate (Lossless)
Algorithm
Deflate (zlib)
Color Depth
8-bit (Indexed), 24-bit (TrueColor), 32-bit (RGBA)
Developed by
Mozilla Corporation (Stuart Parmenter & Vladimir Vukićević)
Released
2004
Magic Bytes
89 50 4E 47 0D 0A 1A 0A
Kodak K25 Raw Image
image/x-kodak-k25
Extension
.k25
Container
Proprietary Kodak Raw (TIFF-based variant)
Compression
Uncompressed / Proprietary Lossless
Algorithm
Proprietary Kodak Compression
Color Depth
10-bit, 12-bit (Per Channel)
Developed by
Eastman Kodak Company
Released
1996
Magic Bytes
Varies (Often resembles TIFF header 49 49 2A 00 or requires proprietary parsing)
Browser Support Comparison
| Browser | APNG | Kodak-K25 |
|---|---|---|
|
|
✓ 59
|
✕ |
|
|
✓ 3
|
✕ |
|
|
✓ 8
|
✕ |
|
|
✓ 79
|
✕ |
|
|
✕ | ✕ |
APNG
APNG Strengths
- Supports 8-bit alpha transparency, completely solving the ugly 'white halo' problem inherent to GIFs
- Gracefully degrades; viewers that do not support APNG will render a perfectly valid, static PNG of the first frame
- Provides lossless compression that retains absolute pixel-perfect quality for UI elements and line art
Limitations
- Because it relies on lossless Deflate compression, file sizes for complex, video-like animations can be massive compared to lossy formats like WebP or AVIF
- Was initially rejected by the official PNG group, delaying its adoption for nearly a decade
- Lacks native hardware decoding acceleration, unlike video-based animated formats (like MP4 or WebM)
Kodak-K25
Kodak-K25 Strengths
- Historically significant format tied to the first digital camera to adopt CompactFlash memory
- Preserves original raw sensor data, allowing modern demosaicing algorithms (via LibRaw) to extract much better image quality than 1996-era software could
Limitations
- Completely obsolete and deeply proprietary, lacking modern raw format features found in DNG
- Cannot be natively viewed in web browsers or standard operating system image viewers without specialized decoders
- Subject to misidentification by automated MIME detection libraries due to structural similarities with standard TIFFs
When to choose which format
APNG
Use APNG when…
- High-Quality Web Animations
- Stickers (Apple iMessage, LINE, Discord)
- UI Loaders with Alpha Transparency
- GIF Replacement
Kodak-K25
Use Kodak-K25 when…
- Vintage Digital Photography Archival
- Kodak DC25 Camera Restorations
- Historical Imaging Research