Free webp to jpg
Image MIME Reference
Kodak-DCR

Kodak Digital Camera Raw

image/x-kodak-dcr
VS

Portable Bitmap

image/x-portable-bitmap
PBM

A complete technical comparison of Kodak Digital Camera Raw and Portable Bitmap — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature Kodak-DCR PBM
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
Kodak Digital Camera Raw
image/x-kodak-dcr
Extension
.dcr
Container TIFF/EP
Compression Uncompressed / Lossless JPEG
Algorithm
NoneLossless JPEG (ITU-T81)
Color Depth 12-bit (Per Channel)
Developed by Eastman Kodak Company
Released 1998
Magic Bytes
49 49 2A 00 or 4D 4D 00 2A
Full Kodak-DCR reference →
Portable Bitmap
image/x-portable-bitmap
Extension
.pbm
Container Netpbm
Compression Uncompressed
Algorithm
None
Color Depth 1-bit (Monochrome)
Developed by Jef Poskanzer (Netpbm Project)
Released 1988
Magic Bytes
50 31 (ASCII) or 50 34 (Binary)
Full PBM reference →

Browser Support Comparison

Browser Kodak-DCR PBM
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
Kodak-DCR

Kodak-DCR Strengths

  • Preserves the full dynamic range and uncompressed raw sensor data captured by foundational professional digital cameras
  • Utilizes the standard TIFF container structure, ensuring that open-source decoders like LibRaw can easily parse and interpret the files long after official vendor support has ended
Limitations
  • Completely obsolete proprietary format tied to camera hardware that is no longer manufactured
  • Shares the TIFF magic header, leading to widespread misidentification by automated MIME detection libraries
  • Cannot be natively viewed in web browsers or standard operating system image viewers without specialized codecs
PBM

PBM Strengths

  • Absolute structural simplicity allows parsers to be written from scratch with just a few lines of code
  • ASCII encoding allows manual editing and debugging directly within a standard text editor
  • Serves as a flawless, lossless intermediary for 1-bit raster data like scanned documents or barcodes
Limitations
  • Strictly limited to 1-bit monochrome images; cannot natively display shades of gray or color
  • Lack of compression results in extremely large file sizes, particularly when using the ASCII 'P1' encoding
  • No support for alpha transparency or modern metadata standards like EXIF

When to choose which format

Kodak-DCR
Use Kodak-DCR when…
  • Vintage Professional Digital Photography (Kodak DCS series)
  • Non-destructive Image Post-Processing
  • Raw Imaging Archival
PBM
Use PBM when…
  • Optical Character Recognition (OCR) Pre-processing
  • Unix/Linux Command-Line Image Pipelines
  • Academic Image Processing Teaching
Share this comparison