Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

North American Presentation Level Protocol Syntax

image/naplps
NAPLPS

A complete technical comparison of Computer Graphics Metafile and North American Presentation Level Protocol Syntax — covering compression, feature support, browser compatibility, magic bytes, and when to choose each format.

Equal browser support

Feature Support

Feature CGM NAPLPS
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No Yes
Progressive Loading ✕ No Yes
HDR Support ✕ No ✕ No
EXIF Metadata ✕ No ✕ No
ICC Color Profile Yes ✕ No
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 →
North American Presentation Level Protocol Syntax
image/naplps
Extension
.nap.naplps
Container NAPLPS Byte Stream
Compression Uncompressed (Tokenized ASCII Commands)
Algorithm
None (Coordinate encoding)
Color Depth 16-color palette (Indexed from larger color spaces)
Developed by ANSI / CSA (Based on Canadian CRC's Telidon)
Released 1983
Magic Bytes
1B (Variable / ESC sequences)
Full NAPLPS reference →

Browser Support Comparison

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

NAPLPS Strengths

  • Extremely bandwidth-efficient, enabling colorful graphical interfaces over early 300 baud dial-up connections
  • Resolution-independent vector scaling allowed the exact same file to be displayed accurately on varied early PC monitors and television sets
Limitations
  • Completely obsolete and unsupported by modern web technologies
  • Relies heavily on stateful parsing and terminal emulators rather than straightforward file decoding
  • Easily misidentified by MIME sniffers as plain text or generic binary streams due to the lack of a standardized file header

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
NAPLPS
Use NAPLPS when…
  • 1980s Videotex Services
  • Prodigy Online Service Graphics
  • Historical BBS Terminal Graphics
  • Legacy Teletext Broadcasts
Share this comparison