Image MIME Reference
PNG
Portable Network Graphics (Legacy MIME)
image/x-png
VS
PTI Image (Personal/Vanity Tree)
image/prs.pti
PTI
A complete technical comparison of Portable Network Graphics (Legacy MIME) and PTI Image (Personal/Vanity Tree) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
PNG wins on browser support
Feature Support
| Feature | PNG | PTI |
|---|---|---|
| Transparency (Alpha) | Yes | ✕ No |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | Yes | ✕ No |
| HDR Support | Yes | ✕ No |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
Portable Network Graphics (Legacy MIME)
image/x-png
Extension
.png
Container
PNG Chunk Structure (IHDR, IDAT, IEND)
Compression
Deflate (Lossless)
Algorithm
Deflate (LZ77)
Color Depth
1-bit to 16-bit (Grayscale), 8-bit (Indexed Palette), 24-bit (True Color), 32-bit (True Color with Alpha), 48-bit (High Color), 64-bit (High Color with Alpha)
Developed by
PNG Development Group
Released
1996
Magic Bytes
89 50 4E 47 0D 0A 1A 0A
PTI Image (Personal/Vanity Tree)
image/prs.pti
Extension
.pti
Container
Proprietary
Compression
Unknown / Proprietary
Algorithm
Unknown
Color Depth
Unknown
Developed by
Jürn Laun
Released
1999
Magic Bytes
Unknown
Browser Support Comparison
| Browser | PNG | PTI |
|---|---|---|
|
|
✓ 1
|
✕ |
|
|
✓ 1
|
✕ |
|
|
✓ 1
|
✕ |
|
|
✓ 12
|
✕ |
|
|
✓
|
✕ |
PNG
PNG Strengths
- The underlying format provides flawless, lossless compression and perfect 8-bit alpha channel transparency
- Universally supported by every modern operating system, image editor, and web browser
Limitations
- The 'image/x-png' string is an obsolete vendor quirk that forces backend developers to write redundant normalization logic in file upload scripts
- If left unnormalized, strict MIME validators or content security policies on modern systems may incorrectly reject valid PNG files
PTI
PTI Strengths
- Provided a registered MIME type namespace for a specific application's proprietary image format without conflicting with standard web types
Limitations
- Completely undocumented and unsupported in modern ecosystems
- Zero web browser compatibility
- Falls into the 'vanity' tree, making it irrelevant for standard cross-platform data exchange
When to choose which format
PNG
Use PNG when…
- Legacy Internet Explorer File Uploads
- Older ASP/PHP Web Applications
- Lossless Web Graphics
PTI
Use PTI when…
- Legacy Application Specific Workflows
- Proprietary Image Storage