Overview of CGM CGM is a binary vector graphics format.

Slides:



Advertisements
Similar presentations
WebCGM Interoperability for industrial- strength CGM graphics John C. Gebhardt.
Advertisements

WebCGM and SVG: a comparison (Dieter Weidenbruck, CGM Open) Lofton Henderson, CGM Open Chris Lilley, W3C.
WebCGM vs SVG: Applicability for Technical Graphics Lofton Henderson Dieter Weidenbrück.
What is Multimedia ? Multi ( Multiple ) and Media ! So…. Information in multiple formats, including text, images, audio, video and animation :) It makes.
CHAPTER 20 CREATING SVG GRAPHICS. LEARNING OBJECTIVES How to embed a graphic stored within a.SVG file in an HTML page How to use the and tag pair to specify.
Concept of Modeling Model -- The representation of an object or a system Modeling -- The creation and manipulation of an object or a system representation.
Lecture 10 Curves and Surfaces I
Flash Animation Using Linear Transformations By Kevin Hunter Kevin Hunter Marcus Yu Marcus Yu.
Shared Graphics Skills Cameras and Clipping Planes
Animation Following “Advanced Animation and Rendering Techniques” (chapter 15+16) By Agata Przybyszewska.
© Nova / Grassioulet 5-6 mai 2002 TECFA staf2x S V G glossary Scalable Vector Graphics.
© 2009 Research In Motion Limited BlackBerry themes and animated graphics.
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Dr. Abdulrahman M. Al-Ahmari Industrial Engineering.
SVG Scalable Vector Graphics. What is SVG? SVG stands for Scalable Vector Graphics SVG is used to define vector-based graphics for the Web SVG defines.
Computer Graphics 12: Spline Representations
2.02 Understand Digital Vector Graphics
Software and Multimedia
1. 2  A computer is a device capable of storing data  in a format suited to the computer,  which is then processed by mathematical manipulation and.
Splines III – Bézier Curves
Curve Modeling Bézier Curves
Computer Graphics. Requirements Prerequisites Prerequisites CS 255 : Data Structures CS 255 : Data Structures Math 253 Math 253 Experience with C Programming.
© ITEDO Software 2001 From 3D CAD to Web catalogs Dieter Weidenbrück.
Foundations of Computer Graphics (Fall 2012) CS 184, Lectures 13,14: Reviews Transforms, OpenGL
SVG for Designers Tom Hoferek. Objectives Introduce SVG Illustrate its capabilities Demonstrate SVG in action Speculate, discuss, answer questions.
1 Scalable Vector Graphics (SVG). 2 SVG SVG is an application language of XML. “SVG is a language for describing two- dimensional graphics in XML. SVG.
Lecture 16 Image Document Formats. Bitmap vs. Vector Images Bitmaps do not generally.
McGraw-Hill/Irwin © 2004 by The McGraw-Hill Companies, Inc. All rights reserved. SVG Ellen Pearlman Eileen Mullin Programming the Web Using XML.
تکنیک های پیشرفته در برنامه سازی وب ) اسلايد نهم SVG - ) جوانمرد Website: به نام خدا.
SVG & INKSCAPE Student Talk: Erica Weiss DIG 4104c Spring 2014.
Digital Media Dr. Jim Rowan ITEC So far… We have compared bitmapped graphics and vector graphics We have discussed bitmapped images, some file formats.
CS 450: COMPUTER GRAPHICS PROJECTIONS SPRING 2015 DR. MICHAEL J. REALE.
Review on Graphics Basics. Outline Polygon rendering pipeline Affine transformations Projective transformations Lighting and shading From vertices to.
Renesas Electronics America Inc. © 2012 Renesas Electronics America Inc. All rights reserved. Class ID: 5L08I Using the Renesas Graphics API to Create.
Structured Content Philosophy. Structure 4 Meaning Content meaning is tagged: Tag application is more consistent Special browsers can act smarter Aids.
GORT: Specifications Leon Kania – Haipin Cua – Thoren McDole – Chang Huang.
Please thank our sponsors?. SharePoint Data Visualization Using D3, SVG, jQuery and REST.
Part – 3 : HTML 5 SVG Tag. † SVG stands for Scalable Vector Graphics. † SVG is used to define vector-based graphics for the Web. † SVG defines the graphics.
Main characteristics of Vector graphics  Vector graphics provide an elegant way of constructing digital images (diagrams, technical illustration and.
Vector vs. Bitmap. Vector Images Vector images (also called outline images) are images made with lines, text, and shapes. Test type is considered to be.
2.02 Understand Digital Vector Graphics
Lecture 5 Basic geometric objects
Copyright © Cengage Learning. All rights reserved.
CS 445 / 645 Introduction to Computer Graphics
Bitmap Image Vectorization using Potrace Algorithm
Vector vs. Bitmap.
Chapter 4: Scalable Vector Graphics (SVG)
Two-Dimensional Sketching
Translations and Reflections
Introducing the technology
Graphical Objects and Scene Graphs
Graphical Transformations!!!
6 Normal Curves and Sampling Distributions
2.02 Understand Digital Vector Graphics
Software and Multimedia
Software and Multimedia
2.02 Understand Digital Vector Graphics
3D Rendering Pipeline Hidden Surface Removal 3D Primitives
Digital Media Dr. Jim Rowan ITEC 2110.
7.2 Area Between Two Curves
Interoperability for industrial-strength CGM graphics John C. Gebhardt
Rotation: all points in the original figure rotate, or turn, an identical number of degrees around a fixed point.
PPT6: Advanced Geometric Algorithms
Copyright © 2012, Elsevier Inc. All rights Reserved.
Unit 1 Transformations in the Coordinate Plane
ADUG Melbourne, 18 MARCH 2019 Tony Bryer, Greentram Software
2.02 Understand Digital Vector Graphics
Maps one figure onto another figure in a plane.
Unit 1 Transformations in the Coordinate Plane
2.02 Understand Digital Vector Graphics
Presentation transcript:

Overview of CGM CGM is a binary vector graphics format. Primarily used in technical graphics Most are generated from CAD source Allows for embedded images ISO/IEC 8632:1999 Standard WebCGM profile is a W3C recommendation © 2004 Docsoft Inc. All Rights Reserved

Reasons for Conversion Interoperability XML based graphics Functionality Dynamic capabilities Reusability SVG Fragments Isolate changes © 2004 Docsoft Inc. All Rights Reserved

File Size Using the ATA/NIST test suites CGM SVG SVGZ 6.38mb 30.1mb Files were all converted using Quick.SVG. There were just under 300 files in the suite. CGM SVG SVGZ 6.38mb 30.1mb 4.4mb © 2004 Docsoft Inc. All Rights Reserved

Issues SVG does not support bounding box for <text/> or <tspan/> elements Restricted Text We can not use the textLength attribute because it is not well supported by viewers. The solution is to apply SVG transformation to text element to yield appropriate size. <g transform="scale(1.8 1)"> <text x=“0” y=“0”>Restricted Text</text> </g> © 2004 Docsoft Inc. All Rights Reserved

Issues CGM coordinate system can be inverted X axis, Y axis, or both. SVG It is best to detect inversions in CGM and translate all coordinates to place the origin at the top left of the screen. Since you will be touching all coordinates you can take this opportunity to apply any operations such as scaling to the CGM data. © 2004 Docsoft Inc. All Rights Reserved

Issues Splines CGM supports non-uniform b-splines The curve could of course be constructed from polylines at varying precisions with very low resource usage. The better solution is to approximate bezier curves to the spline. This can be done with near zero loss and moderate resource usage. © 2004 Docsoft Inc. All Rights Reserved

Issues Figures SVG has no simple translation from the CGM figure element CGM <Figure> <Graphical-Element/> <Edge Visibility=“True”/> <Graphical-Element /> <New-Region/> <Figure/> CGM SVG translating the figure directly with path element SVG translating the figure directly with path element © 2004 Docsoft Inc. All Rights Reserved

Other Issues Emulating multi-link in SVG Engineering line types © 2004 Docsoft Inc. All Rights Reserved