Free webp to jpg
Image MIME Reference
Generic-RAW

Digital Camera Raw (Generic Linux MIME)

image/x-dcraw
VS

PCO B16 Image

image/vnd.pco.b16
PCO-B16

A complete technical comparison of Digital Camera Raw (Generic Linux MIME) and PCO B16 Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Generic-RAW PCO-B16
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata Yes ✕ No
ICC Color Profile Yes ✕ No
Digital Camera Raw (Generic Linux MIME)
image/x-dcraw
Extension
.raw
Container Varies (Predominantly TIFF/EP)
Compression Lossless / Uncompressed
Algorithm
Varies (Often Lossless JPEG ITU-T81 or uncompressed)
Color Depth 12-bit, 14-bit, 16-bit
Developed by freedesktop.org (MIME mapping) / Dave Coffin (dcraw tool)
Released 1997
Magic Bytes
Varies by vendor format
Full Generic-RAW reference →
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 →

Browser Support Comparison

Browser Generic-RAW PCO-B16
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Generic-RAW

Generic-RAW Strengths

  • Provides a unified, highly useful catch-all MIME type for application developers who just need to know if a file is a raw image, rather than tracking 50+ individual camera extensions
  • Deeply integrated into the Linux desktop ecosystem, ensuring file manager thumbnails work seamlessly via tools like ufraw-thumbnailer
Limitations
  • Not an official IANA standard
  • Can cause conflicts where standard TIFF files are misidentified as raw camera data by over-aggressive MIME sniffers
  • The underlying 'dcraw' tool was abandoned by its creator in 2018 (though its successor, LibRaw, continues to maintain the ecosystem)
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

When to choose which format

Generic-RAW
Use Generic-RAW when…
  • Linux Desktop File Associations (GNOME/KDE)
  • Thumbnail Generation for Raw Images (UFRaw/LibRaw)
  • Server-side Image Processing Fallbacks
PCO-B16
Use PCO-B16 when…
  • Microscopy and Life Sciences
  • High-Speed Camera Recording
  • Machine Vision and Industrial Inspection
  • Scientific Photometry
Share this comparison