Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

JPEG Stereo Image

image/x-jps
JPS

A complete technical comparison of Computer Graphics Metafile and JPEG Stereo Image — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

JPS wins on browser support

Feature Support

Feature CGM JPS
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No Yes
HDR Support ✕ No ✕ No
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 Stereo Image
image/x-jps
Extension
.jps
Container JPEG (JFIF/Exif)
Compression Lossy (JPEG/DCT)
Algorithm
JPEG (Discrete Cosine Transform)
Color Depth 8-bit (Grayscale), 24-bit (RGB)
Developed by Stereoscopic Community (Unofficial Standard)
Released 1990
Magic Bytes
FF D8 FF
Full JPS reference →

Browser Support Comparison

Browser CGM JPS
Chrome Chrome
✓ 1
Firefox Firefox
✓ 1
Safari Safari
✓ 1
Edge Edge
✓ 12
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
JPS

JPS Strengths

  • 100% backward compatible with every standard 2D image viewer and web browser (which simply display the two halves side-by-side)
  • Inherits JPEG's excellent lossy compression, resulting in small file sizes ideal for web transmission
  • Extremely easy to generate programmatically by simply stitching two JPEG images side-by-side onto a wider canvas
Limitations
  • Lack of a dedicated metadata standard means viewing software has to guess whether the layout is 'cross-eyed' (right eye left, left eye right) or 'parallel' (left eye left, right eye right), occasionally causing inverted depth
  • Suffers from JPEG compression artifacts, which can break the stereoscopic illusion if compression noise differs between the left and right eyes
  • Superseded in consumer electronics by the MPO (Multi-Picture Object) format, which stacks separate full-resolution JPEGs rather than squishing them side-by-side

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
JPS
Use JPS when…
  • Stereoscopic 3D Photography
  • Virtual Reality (VR) Image Galleries
  • Cross-eye / Parallel Stereograms
Share this comparison