Free webp to jpg
Image MIME Reference
TIFF

Tagged Image File Format (Legacy MIME)

image/x-tiff
VS

X Bitmap (Legacy MIME Alias)

image/x-xbm
XBM

A complete technical comparison of Tagged Image File Format (Legacy MIME) 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 TIFF XBM
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata Yes ✕ No
ICC Color Profile Yes ✕ No
Tagged Image File Format (Legacy MIME)
image/x-tiff
Extension
.tiff.tif
Container IFD (Image File Directory) Tag Structure
Compression Uncompressed / LZW (Lossless) / ZIP / Deflate (Lossless) / PackBits (Lossless RLE) / JPEG (Lossy) / CCITT Group 3/4 (Fax/Document)
Algorithm
NoneLZWDeflatePackBitsJPEGCCITT
Color Depth 1-bit (Monochrome), 8-bit (Grayscale or Indexed), 16-bit (Per Channel), 32-bit (Float Per Channel)
Developed by Aldus Corporation (Later acquired by Adobe Systems)
Released 1986
Magic Bytes
49 49 2A 00 (Little-endian) or 4D 4D 00 2A (Big-endian)
Full TIFF reference →
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')
Full XBM reference →

Browser Support Comparison

Browser TIFF XBM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
TIFF

TIFF Strengths

  • Universally accepted as the gold standard for high-fidelity archival and professional print workflows
  • Highly adaptable structure supports multiple pages (documents), layers, vast bit depths, and diverse compression algorithms within a single file
  • Unmatched support for rich metadata including EXIF, IPTC, XMP, and custom ICC color profiles
Limitations
  • Produces exceptionally large file sizes compared to modern web formats
  • The 'x-tiff' legacy MIME string forces developers to write extra validation logic to prevent strict security filters from rejecting valid uploads
  • The format's immense complexity means that many lightweight parsers only implement a subset of the specification, sometimes failing to read obscure compressions (like CCITT or old JPEG-in-TIFF)
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

TIFF
Use TIFF when…
  • Professional Print and Desktop Publishing
  • High-Resolution Archival Scanning
  • Master Copies of Digital Photography
XBM
Use XBM when…
  • X Window System (X11) Cursors and Icons
  • Embedded C/C++ Firmware UI Assets
  • Early 1990s Unix Web Graphics
Share this comparison