Computer Graphics Metafile is a format used for the exchange of vector and bitmap data. This file format is supported by Autovue and Corel. LEADTOOLS supports versions 1, 2, 3 and 4 of CGM, as well as the Binary data-encoding format of CGM.
LEADTOOLS supports loading this format as a raster image, vector image, or SVG (Scalable Vector Graphics) document.
The following table indicates which objects LEAD can load and which objects it can save:
Object | Load | Save |
---|---|---|
Cell Array | Supported | Not Supported |
Circle | Supported | Not Supported |
3-Point Circular Arc | Not Supported | Not Supported |
Circular Arc Center | Supported | Not Supported |
Ellipse | Supported | Supported |
Elliptical Arc | Supported | Not Supported |
Font | Supported | Supported |
Lines | Supported | Supported |
PolyBezier | Supported | Not Supported |
Polygons | Supported | Supported |
Polyline | Supported | Supported |
Polymarker | Supported | Not Supported |
Raster | Supported | Not Supported |
Rectangle | Supported | Supported |
Restricted Text | Supported | Not Supported |
Text | Supported | Supported |
This file format is not supported in the Imaging Pro toolkits. Read and write support for this format is provided in the Document and Medical Imaging toolkits.
The default extension used by this file format is: CGM.
This file format does not support layers.
The file constants associated with this file format are:
Constant | Read Support | Write Support | Description |
---|---|---|---|
FILE_CGM | Yes | Yes | [62] Computer Graphics Metafile. |
When CGM files are rasterized, they are 24 BPP.
Required DLLs and Libraries
Related Formats
Win32, x64.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document