Free webp to jpg
Image MIME Reference
IEF

Image Exchange Format

image/ief
VS

X Bitmap (Legacy MIME Alias)

image/x-xbm
XBM

A complete technical comparison of Image Exchange 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 IEF XBM
Transparency (Alpha) ✕ No Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
Image Exchange Format
image/ief
Extension
.ief
Container TIFF Class B (TIFF-B)
Compression Lossless (MH, MR, MMR) / Uncompressed
Algorithm
MHMRMMRUncompressed
Color Depth 1-bit (Monochrome)
Developed by IETF Network Fax Working Group
Released 1992
Magic Bytes
49 49 2A 00 (Little-endian) / 4D 4D 00 2A (Big-endian)
Full IEF 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 IEF XBM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
IEF

IEF Strengths

  • Provided a standard method for exchanging bi-level fax images during the early days of the Internet
  • Supported multi-page documents
  • Leveraged the highly resilient and well-documented TIFF container
Limitations
  • Completely obsolete and unsupported in modern computing environments
  • Strictly limited to 1-bit monochrome data, lacking color or grayscale capabilities
  • Magic bytes overlap completely with standard TIFF, making specific filetype detection difficult without parsing internal tags
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

IEF
Use IEF when…
  • Legacy Fax Transmissions
  • Early Internet Gateways
  • Archival
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