What Is .cgm

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 10, 2026

Quick Answer: CGM (Computer Graphics Metafile) is an ISO/IEC 8632 international standard established in 1987 that stores both vector and raster graphics in a single platform-independent file format. Originally developed for technical drawings and engineering applications, CGM became mandatory for U.S. Department of Defense documentation through the CALS initiative and remains critical for preserving legacy technical documents.

Key Facts

Overview

CGM (Computer Graphics Metafile) is an international standard graphics file format codified as ISO/IEC 8632, first standardized in 1987 and subsequently updated in 1991 and 2000. It was designed to solve a critical problem in the computing industry: the inability to reliably exchange graphical data across different computer systems, operating systems, and software applications without loss of information or formatting.

Unlike proprietary graphics formats of the era that were locked to specific vendors or platforms, CGM provided a truly open, platform-independent framework for storing graphical information. The format could handle vector graphics (geometric shapes defined mathematically), raster images (pixel-based data), text with multiple fonts, and sophisticated color definitions all within the same file. This versatility made CGM particularly valuable for industries requiring precise technical documentation that needed to be shared across multiple organizations and computer systems.

CGM evolved through three major versions: CGM-1 (1987), CGM-2 (1991, the most widely implemented), and CGM-3 (2000). The development process involved contributions from major technology companies, government agencies, and international standards bodies, particularly those in defense and aerospace sectors where standardization was critical for national security and interoperability.

How It Works

CGM operates as a structured graphics language, encoding drawing instructions and graphical elements in a standardized format that any compliant software can interpret and render:

Key Comparisons

CharacteristicCGMPostScriptPDFSVG
StandardizationISO/IEC 8632 (1987)Adobe proprietary (1982)ISO 32000 (2008)W3C open standard (2011)
Primary PurposeTechnical graphics exchangeDocument printingDocument distributionWeb graphics
Vector + Raster SupportBoth equally supportedPrimarily vectorBoth supportedPrimarily vector
Platform IndependenceHigh - true platform neutralityRequires interpreterRequires readerWeb browser native
File Size (Binary)Compact, efficientModerate to largeModerate to largeModerate (XML-based)

Why It Matters

Though CGM's market share has declined with the rise of modern formats like PDF, SVG, and specialized CAD formats, it remains an essential standard for anyone working with technical documentation, defense systems, aerospace engineering, or legacy engineering workflows. Understanding CGM is critical for IT professionals, engineers, and archivists managing documents created from the 1980s through the early 2000s.

Sources

  1. ISO/IEC 8632 Computer Graphics MetafileISO
  2. Computer Graphics Metafile - WikipediaCC-BY-SA-4.0
  3. NIST Graphics Format SpecificationsPublic Domain

Missing an answer?

Suggest a question and we'll generate an answer for it.