Image MIME Reference
PTI
PTI Image (Personal/Vanity Tree)
image/prs.pti
VS
Scalable Vector Graphics
image/svg+xml
SVG
A complete technical comparison of PTI Image (Personal/Vanity Tree) and Scalable Vector Graphics — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
SVG wins on browser support
Feature Support
| Feature | PTI | SVG |
|---|---|---|
| Transparency (Alpha) | ✕ No | Yes |
| Animation Support | ✕ No | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | Yes |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
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
Scalable Vector Graphics
image/svg+xml
Extension
.svg.svgz
Container
XML Document
Compression
Uncompressed (Plain Text XML) / Lossless (GZIP via .svgz)
Algorithm
None (for .svg)GZIP (for .svgz)
Color Depth
Vector (Independent of bit-depth), CSS Colors (HEX, RGB, HSL, Display-P3)
Developed by
World Wide Web Consortium (W3C)
Released
2001
Magic Bytes
3C 73 76 67 (for <svg) / 3C 3F 78 6D 6C (for <?xml)
Browser Support Comparison
| Browser | PTI | SVG |
|---|---|---|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓
|
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
SVG
SVG Strengths
- Provides infinite resolution scalability, looking perfectly crisp on high-DPI (Retina) displays without increasing file size
- Extremely lightweight compared to raster formats for flat graphics, logos, and UI elements
- Can be manipulated dynamically via the browser's CSS and JavaScript engines (DOM integration)
Limitations
- Unsuitable for complex photographic images or photorealistic textures
- Poses critical security vulnerabilities (XSS and XML External Entity attacks) if user-uploaded SVGs are not heavily sanitized
- Rendering performance degrades significantly if the SVG contains tens of thousands of complex nodes or deeply nested paths
When to choose which format
PTI
Use PTI when…
- Legacy Application Specific Workflows
- Proprietary Image Storage
SVG
Use SVG when…
- Web Logos & UI Icons
- Responsive Web Design Elements
- Interactive Data Visualizations (D3.js)
- CSS and SMIL Web Animations