Image MIME Reference
QTIF
QuickTime Image Format
image/x-quicktime
VS
X Bitmap (Legacy MIME Alias)
image/x-xbm
XBM
A complete technical comparison of QuickTime Image Format and X Bitmap (Legacy MIME Alias) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.
Equal browser support
Feature Support
| Feature | QTIF | XBM |
|---|---|---|
| Transparency (Alpha) | Yes | Yes |
| Animation Support | ✕ No | ✕ No |
| Progressive Loading | ✕ No | ✕ No |
| HDR Support | ✕ No | ✕ No |
| EXIF Metadata | ✕ No | ✕ No |
| ICC Color Profile | ✕ No | ✕ No |
QuickTime Image Format
image/x-quicktime
Extension
.qtif.qti.qif
Container
QuickTime Atom Container
Compression
Varies (JPEG, SMC, Apple Video, Cinepak, Uncompressed)
Algorithm
QuickTime Image Compression Manager (ICM) Codecs
Color Depth
1-bit to 32-bit (Varies depending on the enclosed codec)
Developed by
Apple Computer, Inc.
Released
1991
Magic Bytes
Varies (Typically begins with a 32-bit size integer followed by 69 64 73 63 ('idsc'))
X Bitmap (Legacy MIME Alias)
image/x-xbm
Extension
.xbm
Container
C Source Code Header (.h)
Compression
Uncompressed (Source Code)
Algorithm
None
Color Depth
1-bit (Monochrome)
Developed by
MIT / X Consortium (X Window System)
Released
1988
Magic Bytes
23 64 65 66 69 6e 65 (ASCII '#define')
Browser Support Comparison
| Browser | QTIF | XBM |
|---|---|---|
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ | ✕ |
|
|
✕ |
✓
|
QTIF
QTIF Strengths
- Extremely flexible architecture allowing it to encapsulate virtually any image compression algorithm available on the host machine
- Supported 32-bit images with alpha channels (transparency) long before PNG became an established standard
Limitations
- Fundamentally tied to Apple's deprecated QuickTime architecture, rendering the files almost entirely unreadable on modern systems without specialized legacy software or FFmpeg
- The 'wrapper' nature of the format means that even if a parser can read the QTIF container, it may fail to render the image if it lacks the specific proprietary codec (like Apple SMC) used to compress the pixel data
- Zero native support in modern web browsers
XBM
XBM Strengths
- Can be compiled directly into C or C++ source code without needing an external file loader or binary asset manager
- Human-readable structure allows developers to inspect, edit, or hand-craft tiny icons directly within a text editor
- Extremely predictable and lightweight for 1-bit hardware displays and embedded systems
Limitations
- Strictly limited to 1-bit monochrome (black and white) graphics with no gray or color support
- Text-based C syntax creates massive file bloat compared to binary 1-bit formats like PBM
- Completely deprecated in modern web browsers and desktop GUI frameworks
When to choose which format
QTIF
Use QTIF when…
- Classic Mac OS Applications and Backgrounds
- QuickTime VR Panorama Textures
- 1990s CD-ROM Multimedia Assets
XBM
Use XBM when…
- X Window System (X11) Cursors and Icons
- Embedded C/C++ Firmware UI Assets
- Early 1990s Unix Web Graphics