Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

JPEG XR Image Sequence (HEIF Container)

image/jxrs
JPEG-XR-Sequence

A complete technical comparison of Computer Graphics Metafile and JPEG XR Image Sequence (HEIF Container) — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature CGM JPEG-XR-Sequence
Transparency (Alpha) Yes Yes
Animation Support ✕ No Yes
Progressive Loading ✕ No Yes
HDR Support ✕ No Yes
EXIF Metadata ✕ No Yes
ICC Color Profile Yes Yes
Computer Graphics Metafile
image/cgm
Extension
.cgm
Container CGM
Compression Uncompressed / Binary / Character / Clear Text
Algorithm
Deflate (in some WebCGM profiles)
Color Depth 8-bit, 16-bit, 24-bit, 32-bit
Developed by ISO / IEC
Released 1987
Magic Bytes
00 20 (Binary) / 42 45 47 49 4E 20 4D 45 54 41 46 49 4C 45 (Clear Text)
Full CGM reference →
JPEG XR Image Sequence (HEIF Container)
image/jxrs
Extension
.jxrs
Container HEIF / ISOBMFF (ISO/IEC 23008-12 / Annex F of ITU-T T.832)
Compression Lossy / Lossless
Algorithm
JPEG XR (Lapped Biorthogonal Transform)
Color Depth 8-bit, 16-bit, 32-bit (Float)
Developed by ISO/IEC JTC 1 / ITU-T
Released 2019
Magic Bytes
XX XX XX XX 66 74 79 70 6A 78 72 53
Full JPEG-XR-Sequence reference →

Browser Support Comparison

Browser CGM JPEG-XR-Sequence
Chrome Chrome
Firefox Firefox
Safari Safari
Edge Edge
IE IE (Legacy)
CGM

CGM Strengths

  • Strictly standardized by ISO, ensuring long-term archiving and cross-platform compatibility in engineering
  • Excellent support for rich metadata, hyperlinks, and technical hotspots via the WebCGM profile
  • Can store complex 2D geometry, rasters, and text in a single lightweight file
Limitations
  • Multiple encoding schemes (Binary, Character, Clear Text) make parser development difficult
  • Zero native support in modern web browsers without third-party plugins
  • Largely replaced by SVG for general-purpose 2D vector graphics on the web
JPEG-XR-Sequence

JPEG-XR-Sequence Strengths

  • Supports 32-bit floating point HDR color depths natively across an entire animation sequence
  • Combines the advanced coding efficiencies of JPEG XR with the sequence timing and metadata framework of HEIF
  • Shares frame data structures allowing for optimized storage of burst photography
Limitations
  • Extremely rare format with essentially no mainstream software adoption
  • Zero web browser support
  • Overshadowed heavily by HEVC (HEIC sequences) and AV1 (AVIF sequences) which offer superior compression and broader hardware decoding support

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
JPEG-XR-Sequence
Use JPEG-XR-Sequence when…
  • Experimental Animation Workflows
  • HDR Burst Photography Archiving
  • Specialized Medical & Scientific Imaging
Share this comparison