Free webp to jpg
Image MIME Reference
DjVu

DjVu Document

image/vnd.djvu
VS

JPEG XS Image

image/jxs
JPEG-XS

A complete technical comparison of DjVu Document and JPEG XS Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature DjVu JPEG-XS
Transparency (Alpha) Yes Yes
Animation Support ✕ No Yes
Progressive Loading Yes ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No Yes
ICC Color Profile ✕ No Yes
DjVu Document
image/vnd.djvu
Extension
.djvu.djv
Container Interchange File Format (IFF)
Compression JB2 (Bi-tonal Text) / IW44 (Wavelet Background) / BZZ (General Data/Text)
Algorithm
JB2IW44BZZ
Color Depth 1-bit (Foreground Text), 24-bit (Background)
Developed by AT&T Labs (Yann LeCun, Léon Bottou, Patrick Haffner, Paul G. Howard)
Released 1996
Magic Bytes
41 54 26 54 46 4F 52 4D
Full DjVu reference →
JPEG XS Image
image/jxs
Extension
.jxs
Container ISOBMFF (ISO/IEC 21122-3) or Raw Codestream
Compression Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (Low-complexity wavelet transform)
Color Depth 8-bit, 10-bit, 12-bit, 14-bit, 16-bit
Developed by Joint Photographic Experts Group (JPEG) / intoPIX
Released 2019
Magic Bytes
FF 10 (Codestream) / XX XX XX XX 66 74 79 70 6A 78 73 20 (ISOBMFF)
Full JPEG-XS reference →

Browser Support Comparison

Browser DjVu JPEG-XS
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
DjVu

DjVu Strengths

  • Unmatched compression ratios for high-resolution scanned documents (often 5 to 10 times smaller than equivalent JPEG/TIFF-based PDFs)
  • Separates text layers cleanly from backgrounds, allowing for highly legible text even at low file sizes
  • Embedded OCR (Optical Character Recognition) text layers allow for fast searching
Limitations
  • Lacks native support in modern operating systems and web browsers, requiring third-party software
  • Largely superseded by PDF/A and modern PDF compression standards in standard corporate workflows
  • Not suitable for vector graphics or born-digital documents (like Word exports), where standard PDF is far superior
JPEG-XS

JPEG-XS Strengths

  • Provides sub-millisecond encoding/decoding latency, essential for live production and gaming
  • Extremely lightweight, requiring very little CPU, GPU, or FPGA memory to process
  • Replaces uncompressed video links (like SDI or HDMI) over standard Ethernet networks with visually lossless quality
Limitations
  • Compression ratios are typically much lower (between 2:1 and 10:1) compared to heavy codecs like HEVC or AV1
  • Zero support in web browsers or standard consumer devices
  • Primarily licensed to hardware manufacturers and professional software ecosystems

When to choose which format

DjVu
Use DjVu when…
  • Scanned Books and Manuals
  • Digital Libraries (e.g., Internet Archive)
  • Historical Document Archiving
JPEG-XS
Use JPEG-XS when…
  • Live Video Broadcasting (SMPTE ST 2110)
  • Video over IP Networks
  • Virtual Reality / Augmented Reality (VR/AR)
  • Automotive & Drone Cameras
Share this comparison