Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

Adobe Photoshop Document

image/vnd.adobe.photoshop
PSD

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

Equal browser support

Feature Support

Feature CGM PSD
Transparency (Alpha) Yes Yes
Animation Support ✕ No Yes
Progressive Loading ✕ No ✕ No
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 →
Adobe Photoshop Document
image/vnd.adobe.photoshop
Extension
.psd.psb.pdd
Container Adobe Photoshop Document (PSD/PSB)
Compression Uncompressed / RLE (Run-Length Encoding) / ZIP
Algorithm
RLEZIP (with or without prediction)None
Color Depth 1-bit (Bitmap), 8-bit, 16-bit, 32-bit (Float/HDR)
Developed by Adobe Systems
Released 1990
Magic Bytes
38 42 50 53
Full PSD reference →

Browser Support Comparison

Browser CGM PSD
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
PSD

PSD Strengths

  • The undisputed global standard for layered raster graphics and non-destructive image editing
  • Supports incredibly complex compositions combining raster data, vector shapes, live text, and adjustment layers
  • Full support for advanced color spaces (CMYK, Lab, multi-channel) and 32-bit floating-point HDR workflows
Limitations
  • Proprietary format: while the specification is published, complete feature-parity is rarely achieved by third-party software (e.g., smart objects and complex layer styles often break)
  • Files can reach enormous sizes (gigabytes) due to the preservation of unflattened, high-resolution layer data
  • Zero support for native rendering in web browsers or standard mobile image viewers

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
PSD
Use PSD when…
  • Professional Photo Retouching
  • Digital Painting and Illustration
  • UI/UX Design Workflows
  • Graphic Design and Print Production
Share this comparison