ArticleslgStudy

computer science

Computer Graphics Metafile

Computer Graphics Metafile is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Computer Graphics Metafile rather than just read about it. In short: Computer Graphics Metafile (CGM) is a free and open international standard file format for 2D vector graphics, raster graphics, and text, and is defined by ISO/IEC 8632. Overview All graphical elements can be specified in a textual source file that can be compiled into a binary file or one of two text representations.

Key takeaways

  • Computer Graphics Metafile belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Computer Graphics Metafile to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Computer Graphics Metafile from memory before moving on to harder problems.

Reference excerpt

Computer Graphics Metafile (CGM) is a free and open international standard file format for 2D vector graphics, raster graphics, and text, and is defined by ISO/IEC 8632.

Overview All graphical elements can be specified in a textual source file that can be compiled into a binary file or one of two text representations. CGM provides a means of graphics data interchange for computer representation of 2D graphical information independent from any particular application, system, platform, or device. As a metafile, i.e., a file containing information that describes or specifies another file, the CGM format has numerous elements to provide functions and to represent entities, so that a wide range of graphical information and geometric primitives can be accommodated. Rather than establish an explicit graphics file format, CGM contains the instructions and data for reconstructing graphical components to render an image using an object-oriented approach. Although CGM is not widely supported for web pages and has been supplanted by other formats in the graphic arts, it is still prevalent in engineering, aviation, and other technical applications. The initial CGM implementation was effectively a streamed representation of a sequence of Graphical Kernel System (GKS) primitive operations. It has been adopted to some extent in the areas of technical illustration and professional design, but has largely been superseded by formats such as SVG and DXF. The World Wide Web Consortium has developed WebCGM, a profile of CGM intended for the use of CGM on the Web.

History 1986 – ANSI X3 122-1986 (ANSI X3 committee) 1987 – ISO 8632-1987 (ISO) 1991 – ANSI/ISO 8632-1987 (ANSI and ISO) 1992 – ISO 8632:1992, a.k.a. CGM:1992 (ISO) 1999 – ISO/IEC 8632:1999, 2nd Edition (ISO/IEC JTC1/SC24) December 17, 2001 – WebCGM (W3C) January 30, 2007 – WebCGM 2.0 (W3C) March 1, 2010 – WebCGM 2.1 (W3C Recommendation)

Further reading Arnold, D.B. and P.R. Bono, CGM and CGI: Metafile and Interface Standards for Computer Graphics, Springer-Verlag, New York, NY, 1988. Henderson, L.R., and Gebhardt, CGM: SGML for Graphics, The Gilbane Report, Fall 1994. Henderson, L.R., and A.M. Mumford, The CGM Handbook, Academic Press, San Diego, CA, 1993. Bono, P.R., J.L. Encarnacao, L.M. Encarnacao, and W.R. Herzner, PC Graphics With GKS, Prentice-Hall, Englewood Cliffs, NJ, 1990. Vaughan Tay (2001) Making It Work, 5th ed

See also Comparison of graphics file formats

References

External links

General Overview of CGM Standards CGM File Format Summary WebCGM Resource Page Technology Reports: WebCGM Use of CGM as a Scalable Graphics Format CGM Open - Reference documents & related materials for CGM and WebCGM

Standards WebCGM 1.0, W3C Recommendation, 17 December 2001 WebCGM 2.0, W3C Recommendation, 30 January 2007 WebCGM 2.1, W3C Recommendation, 1 March 2010 ISO/IEC 8632-1:1999 Part 1: Functional specification ISO/IEC 8632-1:1999 Part 1: Technical Corrigendum 1 ISO/IEC 8632-1:1999 Part 1: Technical Corrigendum 2 ISO/IEC 8632-3:1999 Part 3: Binary encoding ISO/IEC 8632-4:1999 Part 4: Clear text encoding

Other WebCGM and SVG: A Comparison CGM Examples

Worked examples

Example 1 — a first encounter with Computer Graphics Metafile

Start with the simplest possible case. Write down what Computer Graphics Metafile claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Computer Graphics Metafile before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Computer Graphics Metafile ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Computer Graphics Metafile

In research
Computer Graphics Metafile appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Computer Graphics Metafile in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Computer Graphics Metafile is common in secondary-school and first-year university syllabi. It links to neighbouring topics American National Standards Institute standards, Graphics file formats, Graphics standards, so understanding it makes those chapters shorter.
In everyday life
Look for Computer Graphics Metafile outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Computer Graphics Metafile” →

How to study Computer Graphics Metafile in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Computer Graphics Metafile means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Computer Graphics Metafile out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Computer Graphics Metafile in simple terms?

Computer Graphics Metafile (CGM) is a free and open international standard file format for 2D vector graphics, raster graphics, and text, and is defined by ISO/IEC 8632. Overview All graphical elements can be specified in a textual source file that can be compiled into a binary file or one of two t…

Why does Computer Graphics Metafile matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Computer Graphics Metafile?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Computer Graphics Metafile.

Tags

  • American National Standards Institute standards
  • Graphics file formats
  • Graphics standards
  • IEC standards
  • ISO standards
  • Open formats
  • Vector graphics markup languages
  • World Wide Web Consortium standards

Keep exploring