Image MIME Reference
HEIF-Sequence
High Efficiency Image File Format Sequence
image/heif-sequence
VS
Scalable Vector Graphics
image/svg+xml
SVG
A complete technical comparison of High Efficiency Image File Format Sequence 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 | HEIF-Sequence | SVG |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | Yes | Yes |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | Yes | Yes |
| EXIF Metadata | Yes | ✕ No |
| ICC Color Profile | Yes | ✕ No |
High Efficiency Image File Format Sequence
image/heif-sequence
Extension
.heifs.heif.hif
Container
HEIF / ISOBMFF (ISO/IEC 14496-12)
Compression
Lossy / Lossless
Algorithm
Codec Agnostic (HEVC, AVC, JPEG, AV1)
Color Depth
8-bit, 10-bit, 12-bit, 16-bit
Developed by
Moving Picture Experts Group (MPEG)
Released
2015
Magic Bytes
XX XX XX XX 66 74 79 70 6D 73 66 31
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 | HEIF-Sequence | SVG |
|---|---|---|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓ All
|
|
|
✕ |
✓
|
HEIF-Sequence
HEIF-Sequence Strengths
- Codec-agnostic container allows for extreme flexibility when storing multi-frame photographic data
- Maintains the space-saving benefits of ISOBMFF shared frame data blocks
- Excellent for archiving computational photography workloads like exposure brackets or focal stacks
Limitations
- Codec ambiguity means a decoder might be able to parse the container but fail to decode the underlying pixels
- Zero native web browser support
- Complex container structure requires specialized parsing libraries to extract individual frames
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
HEIF-Sequence
Use HEIF-Sequence when…
- Burst Photography
- Focal Stacking
- Exposure Bracketing
- Time-Lapse Data
SVG
Use SVG when…
- Web Logos & UI Icons
- Responsive Web Design Elements
- Interactive Data Visualizations (D3.js)
- CSS and SMIL Web Animations