Free webp to jpg
Image MIME Reference
JPEG-LS

JPEG-LS

image/jls
VS

PCO B16 Image

image/vnd.pco.b16
PCO-B16

A complete technical comparison of JPEG-LS and PCO B16 Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature JPEG-LS PCO-B16
Transparency (Alpha) ✕ No ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support Yes ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
JPEG-LS
image/jls
Extension
.jls.jl
Container JPEG Bitstream
Compression Lossless / Near-Lossless (Predictive Coding)
Algorithm
LOCO-I (Low Complexity Lossless Compression for Images)Golomb-Rice Coding
Color Depth 8-bit, 12-bit, 16-bit (Per Channel)
Developed by Joint Photographic Experts Group (ISO/ITU-T) & HP Labs
Released 1999
Magic Bytes
FF D8 FF F7
Full JPEG-LS 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 JPEG-LS PCO-B16
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
JPEG-LS

JPEG-LS Strengths

  • Provides state-of-the-art lossless compression ratios for continuous-tone images, often outperforming Lossless JPEG and JPEG 2000
  • Extremely fast and computationally inexpensive to encode/decode, requiring no complex floating-point math or DCTs
  • Highly resilient in constrained hardware environments, making it ideal for medical equipment and deep-space probes (e.g., Mars rovers)
Limitations
  • Zero native support in web browsers or standard consumer operating systems
  • Lacks the advanced resolution scalability and progressive decoding features found in JPEG 2000
  • Primarily relegated to niche enterprise sectors (healthcare/DICOM and aerospace) rather than consumer adoption
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

JPEG-LS
Use JPEG-LS when…
  • Medical Imaging (DICOM Encapsulation)
  • Space and Planetary Imaging (NASA/ESA)
  • Industrial Machine Vision
  • Scientific Archival Storage
PCO-B16
Use PCO-B16 when…
  • Microscopy and Life Sciences
  • High-Speed Camera Recording
  • Machine Vision and Industrial Inspection
  • Scientific Photometry
Share this comparison