Free webp to jpg
Image MIME Reference
CGM

Computer Graphics Metafile

image/cgm
VS

MacPaint Image

image/x-macpaint
MacPaint

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

Equal browser support

Feature Support

Feature CGM MacPaint
Transparency (Alpha) Yes ✕ No
Animation Support ✕ No ✕ No
Progressive Loading ✕ No ✕ No
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 →
MacPaint Image
image/x-macpaint
Extension
.mac.pntg.pnt.macp
Container Raw pixel payload with a 512-byte pattern header
Compression PackBits (Run-Length Encoding)
Algorithm
PackBits (Apple RLE)
Color Depth 1-bit (Monochrome)
Developed by Apple Computer, Inc. (Bill Atkinson)
Released 1984
Magic Bytes
None (Relies on classic Mac OS 'PNTG' OSType)
Full MacPaint reference →

Browser Support Comparison

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

MacPaint Strengths

  • Profoundly historically significant as the format that introduced millions to the concept of bitmap digital painting
  • Extremely simple PackBits compression makes it easy for emulator developers or archivists to write parsers from scratch in under an hour
Limitations
  • Severely limited: strictly black and white, and hard-locked to exactly 576 x 720 pixels
  • Lack of standard magic bytes makes programmatic file sniffing unreliable on modern filesystems without relying on the file extension
  • Completely obsolete and unsupported by modern web browsers or consumer image viewers

When to choose which format

CGM
Use CGM when…
  • Technical Illustrations
  • Aerospace & Defense (S1000D)
  • CAD/CAM
  • Geophysics
MacPaint
Use MacPaint when…
  • Historical Apple Macintosh Archival
  • Early 1980s Digital Art Preservation
  • Retro UI/UX Academic Research
Share this comparison