Free webp to jpg
Image MIME Reference
PCO-B16

PCO B16 Image

image/vnd.pco.b16
VS

X Bitmap (Legacy MIME Alias)

image/x-xbm
XBM

A complete technical comparison of PCO B16 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 PCO-B16 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
PCO B16 Image
image/vnd.pco.b16
Extension
.b16
Container PCO B16 Binary Container
Compression Uncompressed (Raw Sensor Data)
Algorithm
None
Color Depth 16-bit (Monochrome or Bayer Raw Color)
Developed by PCO AG (Excelitas PCO GmbH)
Released Early 2000s
Magic Bytes
50 43 4F 2D
Full PCO-B16 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 PCO-B16 XBM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
PCO-B16

PCO-B16 Strengths

  • Preserves exact, uncompressed 16-bit raw sensor data, which is critically important for accurate scientific measurements, fluorescence microscopy, and photometry
  • The simple, linear struct header is highly predictable and easy to parse in custom Python, MATLAB, or C++ scripts for researchers building bespoke pipelines
Limitations
  • Generates massive file sizes due to the complete lack of image compression [1.3.1]
  • Completely unsupported by standard operating systems, web browsers, and consumer image editing suites
  • Strictly tied to the hardware and software ecosystems of a single camera manufacturer
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

PCO-B16
Use PCO-B16 when…
  • Microscopy and Life Sciences
  • High-Speed Camera Recording
  • Machine Vision and Industrial Inspection
  • Scientific Photometry
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