Free webp to jpg
Image MIME Reference
PICT

Apple PICT Image

image/x-pict
VS

X Bitmap (Legacy MIME Alias)

image/x-xbm
XBM

A complete technical comparison of Apple PICT Image 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 PICT 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
Apple PICT Image
image/x-pict
Extension
.pict.pct.pic
Container QuickDraw Metafile
Compression Uncompressed / Run-Length Encoding (RLE) / QuickTime Compressors (JPEG, SMC)
Algorithm
Apple PackBits (RLE)QuickTime Image Compression Manager (ICM)
Color Depth 1-bit, 2-bit, 4-bit, 8-bit (Indexed), 16-bit (High Color), 24-bit (True Color), 32-bit (RGBA)
Developed by Apple Computer, Inc.
Released 1984
Magic Bytes
None (Requires offset parsing, e.g., 00 11 02 FF at byte 522)
Full PICT 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 PICT XBM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
PICT

PICT Strengths

  • Incredibly versatile for its time, allowing a single file to cleanly scale text and vector shapes while simultaneously housing raster photos
  • Served as the flawless universal clipboard format for the classic Mac OS, enabling seamless copy/pasting between wildly different applications
Limitations
  • Deeply tied to Apple's legacy QuickDraw graphics architecture, making it exceptionally difficult to write accurate third-party parsers on modern operating systems
  • Lack of a standard magic header makes file detection unreliable without seeking 522 bytes deep into the file
  • Completely unsupported in modern web environments and discontinued by Apple itself
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

PICT
Use PICT when…
  • Classic Mac OS Clipboard Data
  • Legacy Macintosh Desktop Publishing (Aldus PageMaker, QuarkXPress)
  • 1980s/1990s Digital Clip Art
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