Free webp to jpg
Image MIME Reference
DWG

AutoCAD Drawing

image/vnd.dwg
VS

JPEG XS Codestream

image/jxsc
JPEG-XS-Codestream

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

Equal browser support

Feature Support

Feature DWG JPEG-XS-Codestream
Transparency (Alpha) Yes Yes
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
HDR Support ✕ No Yes
EXIF Metadata ✕ No ✕ No
ICC Color Profile ✕ No ✕ No
AutoCAD Drawing
image/vnd.dwg
Extension
.dwg
Container DWG Binary Container
Compression Proprietary Binary Compression (LZ77 based in newer versions)
Algorithm
Proprietary (Autodesk ObjectDBX)
Color Depth Vector (True Color / Indexed AutoCAD Color Index)
Developed by Autodesk
Released 1982
Magic Bytes
41 43 31 30 (AC10)
Full DWG reference →
JPEG XS Codestream
image/jxsc
Extension
.jxsc.jxs
Container None (Raw Codestream)
Compression Lossy (Visually Lossless) / Mathematically Lossless
Algorithm
JPEG XS (ISO/IEC 21122-1)
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
Full JPEG-XS-Codestream reference →

Browser Support Comparison

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

DWG Strengths

  • The undisputed industry standard for 2D drafting and basic 3D CAD modeling
  • Highly optimized binary structure keeps file sizes relatively small compared to text-based CAD formats like DXF
  • Supports incredibly complex datasets including external references (XREFs), dynamic blocks, and extensive custom metadata
Limitations
  • It is a closed, proprietary format, making it difficult for third-party developers to support fully without licensing the Open Design Alliance (ODA) SDK
  • Lacks native web or standard operating system previewer support
  • Format versions change frequently (roughly every 3 years), breaking backward compatibility for older CAD software
JPEG-XS-Codestream

JPEG-XS-Codestream Strengths

  • Eliminates container overhead, maximizing parsing speed and minimizing latency to fractions of a millisecond
  • Highly optimized for direct hardware implementation in FPGAs and ASICs
  • Perfect for continuous data streaming over IP networks without needing to establish file headers
Limitations
  • Lacks standard container metadata (EXIF, XMP, ICC profiles), meaning color space and orientation data must be handled externally or out-of-band
  • Zero support in web browsers or standard consumer operating systems
  • Often requires specialized broadcast hardware or custom software libraries to decode

When to choose which format

DWG
Use DWG when…
  • Architectural Floor Plans
  • Mechanical Engineering Models
  • Civil Engineering Drafts
  • 3D Product Designs
JPEG-XS-Codestream
Use JPEG-XS-Codestream when…
  • Hardware Decoding Pipelines (FPGA/ASIC)
  • Live Broadcast Infrastructure
  • Video over IP Transport
  • Embedded Camera Systems
Share this comparison