Quick links to procedures on this page:

 
 
 

Computer Graphics Metafile (CGM)

Computer Graphics Metafile (CGM) is an open, platform-independent metafile format used for storing and exchanging two-dimensional graphics. It supports RGB color. CGM files can contain both vector graphics and bitmaps, but they usually contain one graphic type or the other — rarely both.

Corel DESIGNER supports CGM Version 1, CGM Version 3, and three CGM Version 4 profiles — ACGM, WebCGM, S1000D, and GREX. The CGM Version 4 profiles are subsets of the CGM standard; each profile contains some CGM features. Files of these profiles allow associating of non-graphical data with graphical elements, and are often referred to as “intelligent graphics.” Below is a short description of the supported Version 4 profiles:

 
ACGM (ActiveCGM) — supports hyperlinking of both vector graphics and bitmaps, zooming, panning, hotspots, and database links. It is very suitable for displaying 2D drawings on the Internet.
 
WebCGM (Versions 1.0, 2.0, and 2.1) — a binary file format that supports hyperlinks, document navigation, picture structuring and layers, as well as searching on WebCGM picture contents. It also supports Unicode and Web fonts. The WebCGM profile is used widely in Web electronic documents.
 
WebCGM S1000D Profile — a standard that specifies requirements for creating graphics that are compliant with S1000D. S1000D is an international, SGML/ XML-based standard for creating and managing technical publications. It was originally developed by the Aerospace and Defense Industries Association of Europe (ASD) for creating technical publications for military aircrafts. The standard has since been modified and is now supported by numerous industries for creating technical publications.
 
GREX (ATA GREXCHANGE) — very similar to WebCGM in its rules for graphical elements. Unlike WebCGM, this profile supports only Western encoding and some base fonts. Although it does not support URL links, it does support references that can be externally resolved. The GREX profile is widely used in the automotive, aerospace, and defence industries.
To import a CGM file Back to Top
1.
 
Click File Import.
2.
 
Locate the folder in which the file is stored.
3.
 
Do one of the following:
(Windows 7 and Windows 8) Choose CGM - Computer Graphics Metafile (*.cgm) from the list box next to the File name box.
(Windows XP) Choose CGM - Computer Graphics Metafile from the Files of type list box.
4.
 
Click the filename.
5.
 
Click Import.
To export a CGM file Back to Top
1.
 
Click File Export.
2.
 
Locate the folder in which you want to save the file.
3.
 
Choose CGM - Computer Graphics Metafile from the Save as type list box.
4.
 
Type a filename in the File name list box.
5.
 
Click Export.
6.
 
In the CGM export dialog box, choose a version from the Export version list box.
If the version you selected supports text encoding, enable one of the following encoding options:
Text
Binary
Choose an encoding type from the Type list box.
Computer Graphics Metafile (CGM) technical notes Back to Top
Importing a CGM file
 
Corel DESIGNER can import CGM Version 1, 3 and 4 files. Version 4 files include WebCGM 1.0, 2.0, 2.1, and S1000D files.
 
The CGM filter accepts only markers supported by the CGM file format standard. Private-use markers are ignored.
 
Text is editable, provided the file is exported from the source program with the correct text options specified. The typeface you see may not correspond to the one used in the source program; however, you can easily correct the typeface in the Corel program.
 
If the CGM file contains a font that is not on your computer, the PANOSE font- matching dialog box lets you replace the font with an available one.
 
When you import a CGM file, some object types are converted to Corel DESIGNER objects. For example, hyperbolic and parabolic elements are converted to Bézier curves.
 
When you import a WebCGM (Version 2.0 and 2.1) or WebCGM S1000D file in Corel DESIGNER, objects attributes stored in an XML companion file (XCF) are imported.
Exporting a CGM file
 
Corel DESIGNER can export version 1, 3, and 4 CGM and WebCGM 1.0 files.
 
When you export to the WebCGM format, you choose from three Text encoding options: UTF-8, UTF-16, and ISO 8859-1.
 
You can export WebCGM (Version 2.0 and 2.1) or S1000D CGM files with objects attributes stored in an XML companion file (XCF).
 
You have the option of compressing WebCGM 2.1 files on export.
 
CGM files can be saved in text or binary format. Text-encoded files can be opened in an ASCII text editor.
 
PostScript textures are converted to curves.

Feedback
Was this page helpful? Send feedback.

Copyright 2013 Corel Corporation. All rights reserved.