.CGM

Файл CGM

Computer Graphics Metafile
Задать вопрос
БЫСТРЫЙ ОТВЕТ

A CGM file is a Computer Graphics Metafile - an ISO/IEC 8632 vector graphics format from 1987, used in aviation, defense, and engineering documentation. Most image viewers cannot open it; use IrfanView with the plugins pack (free, Windows) or an online converter to get SVG or PDF.

Разработчик: ISO/IEC + ANSI (vendor-neutral standard); originally a US FIPS Категория: Файлы векторных изображений Открыть стандартное MIME: image/cgm
ОТКРЫВАЕТСЯ НА Windows macOS Linux Web
Связанные: .EMZ · .CDR · .ODG · .VSDX

На этой странице

Проиндексировано расширений: 19k+
Последняя проверка: Jul 9, 2026

Не знаете, что это за файл?

Перетащите любой файл в наш идентификатор - мы прочитаем первые байты, чтобы определить формат.

Идентифицировать файл

Что такое формат файла CGM?

.cgm files store raster or vector graphics and text. The format is supported by various graphics editing and technical illustration tools, and remains widely used in aerospace, defense, and engineering documentation - sectors where its long-established standardization carries more weight than everyday consumer tooling.

The main goal of creating the .cgm format was to develop a universal, platform-independent standard for storing graphics data. The CGM standard was defined by the International Organization for Standardization (ISO) and the International Electrotechnical Commission (IEC), published as ISO/IEC 8632, and simultaneously adopted as a US federal standard (FIPS PUB 128) in 1987. While .svg has largely taken over general-purpose web graphics, .cgm remains the mandated format in aviation (ATA Spec 2300, S1000D) and defense (CALS) documentation standards.

The CGM standard defines how vector and raster graphics are to be stored in .cgm files. Each graphic element has a list of attributes that define its appearance and rendering. CGM supports RGB direct color and indexed color models, with up to 24-bit direct color, along with additional color specifications used in industry-specific profiles - unlike the CMYK-oriented .eps format common in print workflows.

.cgm files can store various types of graphics data thanks to a rich array of elements that implement many standards. The CGM standard defines, for example:

  • which types of data can be stored (lines, polylines, polygons, text glyphs, filled areas, and embedded raster cell arrays),
  • how the contents will be displayed in a device-independent Virtual Device Coordinate (VDC) space,
  • how images may be edited and extended through profile-specific element sets,
  • support for external devices and interactive features via the WebCGM 2.1 profile.

CGM can store data depending on how the output image is to be generated and what properties it should have. CGM stores data using one of three standard encodings:

  • Binary - fast file write and read; uses big-endian integer ordering,
  • Character - portable character-based encoding designed for 7-bit ASCII transmission channels,
  • Clear-Text - human-readable and easy to edit using standard text editors; a Clear-Text .cgm file begins with the ASCII keyword BEGMF.

Безопасность и защита

РИСК: LOW

A CGM file is a passive vector graphic with no scripting, so the format itself is low risk. Practical cautions: many 'CGM viewers' surfaced by search are dead or bundled with adware - stick to the reputable tools listed; and because CGM is common in aerospace/defense, files may be technically sensitive, so avoid uploading confidential drawings to online converters.

Детали формата

в двух словах
ПОЛНОЕ НАЗВАНИЕComputer Graphics Metafileтакже известен как CGM vector graphic, ISO/IEC 8632 metafile
РАЗРАБОТЧИКISO/IEC + ANSI (vendor-neutral standard); originally a US FIPSс 1987 (first standardized as ISO 8632 / ANSI; US FIPS PUB 128)
MIME-ТИПimage/cgm
ТИП2D vector graphics metafile (can also embed raster); ISO/IEC 8632 standard
СТАНДАРТОткрытый · без роялти
СВЯЗАННЫЕ.emz.cdr.odg.vsdx

Программы, открывающие файлы CGM

Windows4 apps
CorelDRAW Платно File > Import, select the .cgm to edit it as vector art.
ABViewer Платно Open the .cgm to view/measure/convert; CADSoftTools ABViewer supports CGM (free trial).
IrfanView (+ plugins) Бесплатно Install the IrfanView Plugins pack (includes the CGM reader), then File > Open the .cgm.
Inkscape (via converter) Открытый код Inkscape doesn't read CGM directly - convert to SVG first (UniConvertor / online), then open in Inkscape.
macOS1 app
Adobe Illustrator Платно File > Open / Place the .cgm (legacy CGM import; older versions had better support).
Linux1 app
UniConvertor (sK1) Открытый код Command-line convert CGM to SVG/PDF: uniconvertor input.cgm output.svg, then view/edit in Inkscape.
Web1 app
CloudConvert Freemium Upload the .cgm and convert to SVG/PDF/PNG online (for non-confidential files).

Технические подробности

глубокая спецификация
StandardISO/IEC 8632:1999 (CGM:1999), Parts 1-4; also ANSI X3.122 and US FIPS PUB 128 (1987)
MIME typeimage/cgm (registered); alternatives include image/x-cgm and application/cgm
EncodingsThree defined by the standard: Binary (Part 3), Character (Part 2), and Clear-Text (Part 4)
File structureOrdered sequence of metafile elements: Begin Metafile → Begin Picture → graphic primitives and attributes → End Picture → End Metafile
Graphic primitivesPolyline, disjoint polyline, polymarker, filled-area set, polygon, rectangle, circle, ellipse, circular arc, text, restricted text, cell array, tile array
Color supportIndexed color (color table entries) and direct RGB color; up to 24-bit direct color per the standard
Coordinate systemDevice-independent Virtual Device Coordinates (VDC); precision set by VDC integer or real parameters - effectively unbounded coordinate range
Binary byte orderBig-endian; binary encoding uses big-endian integer and word ordering as specified in ISO/IEC 8632 Part 3
CompressionNone in the base standard; some profiles permit compressed embedded raster within cell array and tile array primitives
Raster embeddingRaster pixel data embedded inside the vector structure via cell array and tile array primitives
Text handlingBasic text with font index and character attributes; restricted text constrained to a bounding box; append text for continuation
Industry profilesATA Spec 2300 / iSpec 2200 (civil aviation), CALS / MIL-D-28003 (defense), S1000D (interactive technical manuals), WebCGM 2.1 (W3C/OASIS)
WebCGM extensionWebCGM 2.1 (W3C/OASIS, 2010) adds hyperlinks, named groups, metadata, and interactivity for web-deployed technical documentation
File identificationNo single magic number across all encodings; Clear-Text .cgm begins with ASCII keyword BEGMF; Binary starts with a BEGMF command element (element class 0, id 1)
Primary use domainsAerospace technical manuals, military/defense documentation, engineering illustrations; SVG has superseded .cgm for general web and consumer use
Выпущен1987 (first standardized as ISO 8632 / ANSI; US FIPS PUB 128)
Последняя версияCGM:1999 (ISO/IEC 8632:1999); WebCGM 2.1 published by W3C/OASIS in 2010
Открыть стандартноеДа · без роялти
Спецификацияwww.iso.org

Конвертации CGM

Возможно
.CGM .PDFРУКОВОДСТВО
Да - самый быстрый путь в Windows через ABViewer: откройте файл CGM, выберите «Файл» > «Экспорт» > «В PDF» и…
Как конвертировать
.CGM .SVGРУКОВОДСТВО
Yes - CGM and SVG are both 2D vector formats, so conversion preserves scalable geometry; the fastest free…
Как конвертировать
.CGM .DWGРУКОВОДСТВО
Да, CGM конвертируется в DWG - самый быстрый путь через ABViewer (откройте CGM, экспортируйте как DWG).
Как конвертировать
.CGM .JPGРУКОВОДСТВО
Да - откройте CGM в IrfanView (бесплатно, Windows) и экспортируйте его в JPG за один шаг.
Как конвертировать
.CGM .DXFРУКОВОДСТВО
Да - самый прямой путь через ABViewer, который открывает CGM и экспортирует DXF в несколько кликов.
Как конвертировать
.CGM .JPEGРУКОВОДСТВО
Да - откройте CGM в IrfanView (с установленным пакетом плагинов) и сохраните как JPEG или загрузите на…
Как конвертировать
.CGM .CDRРУКОВОДСТВО
Да - откройте файл CGM в CorelDRAW через File > Import, затем сохраните его как файл .cdr с помощью File >…
Как конвертировать
.CGM .TIFРУКОВОДСТВО
Да, CGM можно конвертировать в TIF - самый быстрый способ - открыть файл в IrfanView (с установленным пакетом…
Как конвертировать
.CGM .TIFFРУКОВОДСТВО
Да - откройте CGM в IrfanView (с бесплатным пакетом плагинов) и экспортируйте в TIFF за один шаг.
Как конвертировать

Вопросы и ответы сообщества

спрошено пользователями
Задать быстрый вопрос
Получите помощь от людей, работающих с файлами CGM. Будьте конкретны - укажите вашу систему и версию ПО.
Аккаунт не нужен · ответы обычно в течение дня

Вопросов пока нет - станьте первым, кто спросит о файлах CGM.

Часто задаваемые вопросы

How do I open a CGM file?
Use a tool that supports the format: IrfanView with its plugin pack (free), ABViewer, or CorelDRAW. If you only need to view/share it, convert it to SVG or PDF first.
What program opens .cgm files for free?
IrfanView (with the Plugins pack) on Windows, and UniConvertor on Linux for converting. Online converters can turn CGM into SVG/PDF/PNG without installing anything.
How do I convert CGM to SVG or PDF?
Use UniConvertor (command line), an online converter like CloudConvert, or import into a vector editor and export. SVG keeps it scalable; PDF is best for documents.
Why won't my image viewer open a CGM file?
CGM is a niche technical-illustration standard, not a common photo format, so most basic viewers lack a decoder. Use IrfanView+plugins or convert it first.
What is CGM used for?
Mainly 2D technical illustrations in aviation (ATA/S1000D), defense (CALS), and engineering documentation, where a vendor-neutral ISO vector standard is required.
Is CGM the same as SVG?
Both are vector formats, but CGM (ISO/IEC 8632, 1987) predates SVG and is binary/standardized for technical docs; SVG is the XML web standard. CGM converts cleanly to SVG.

Ссылки

1ISO/IEC 8632 - Computer Graphics Metafile (standard)www.iso.org
2W3C - WebCGM 2.1www.w3.org

Узнать больше

по всей базе данных

Популярные расширения на этой неделе

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.BINCD/DVD Disc Image (BIN/CUE)
5.RPMSGRestricted Permission Message
6.MDMarkdown Document
7.NOMEDIAAndroid No-Media Marker File
8.PRO6XProPresenter 6 Bundle File
9.EXEWindows Executable (Portable Executable)
10.PRDXSoftMaker Presentations Document

Похожие расширения

.EMZWindows Compressed Enhanced Metafile
.CDRCorelDRAW image / drawing
.ODGOpenDocument Graphics (Drawing)
.VSDXMicrosoft Visio Drawing (2013+)
.AIAdobe Illustrator Artwork
.EPSEncapsulated PostScript

Бесплатные инструменты для файлов

Идентификатор файлов и конвертер изображений в браузере - все работает на вашем устройстве.

Открыть инструменты

Обзор расширений файлов A-Z