XML Europe 2001 logo21-25 May 2001
Internationales Congress Centrum (ICC)
Berlin, Germany

WebCGM and SVG: A Comparison

Chris Lilley <chris@w3.org>
Dieter Weidenbrück <dieter@itedo.com>
 PDF version    Latest version   

ABSTRACT

WebCGM and SVG have been discussed for some time as the upcoming standards for vector graphics on the Web. Now that more and more products have become available for these formats, users want to know about the differences between them. This session compares the formats technically and shows the benefits of either format. It also serves as an introduction to the graphics track, which will provide more information about WebCGM and SVG.

Addressing the Need

The Requirements

WebCGM

WebCGM Overview

Status of WebCGM

SVG

SVG Overview

Status SVG

WebCGM and SVG - Common Geometry

WebCGM and SVG: Simple geometry

SVG:


	<svg width="400" height="400">
	  <g style="fill:none; stroke:green">
	    <line x1="100" y1="300" x2="300" y2="100" 
	          style="stroke-width:5" />
	  </g> 
	</svg>

CGM (text encoded):


	BEGMF 'sample.cgm                       ';
	...
	 BEGPIC 'Picture 1';
	VDCEXT 0,400 400,0;
	 ...
	 BEGPICBODY;
	 ...
	  LINECOLR 5;LINEWIDTH 0.5;LINETYPE 1;
	  LINE 100,300 300,100;
	 ENDPIC;
	ENDMF;

WebCGM and SVG: Text

WebCGM and SVG: Hyperlinking


BEGAPS 'myID1' 'grobject' STLIST;
 APSATTR 'name' "14 1 'myObj1'";
 APSATTR 'linkuri' "14 3 'sample.cgm#id(myObj)' 'Click to display obj1' ''";
BEGAPSBODY;
 POLYGON 30,50 70,50 70,15 30,15 30,50;
ENDAPS;
<g>
 <desc>'Click to display obj1'</desc>
 <a id='s12-1myObj1' xlink:href='sample.svg#xpointer(id(myObj))'>
  <polygon points='30,50 70,50 70,15 30,15 30,50'/>
 </a>
</g>

WebCGM and SVG: Other Links

WebCGM & SVG compared

Comparison: WebCGM & SVG

Do SVG and WebCGM compete?

No.

Why not?

So what?

Things to watch out for

Biography

Chris Lilley
Graphics Activity Lead
W3C
France
Email: chris@w3.org

Chris Lilley - Chris Lilley has been working with the Web since 1993 and has been a member of the W3C technical staff since 1996. He is Graphics Activity lead and also chairs two W3C working groups: CSS and SVG. Chris was co-editor of the CSS2 specification and has also contributed to the HTML 2.0, HTML 4.0, CSS1, PNG, and WebCGM specifications. He is based in the South of France.

Dieter Weidenbrück
CEO
ITEDO Software
Germany
Email: dieter@itedo.com

Dieter Weidenbrück - Dieter Weidenbrück is the founder and President of ITEDO Software, the manufacturer of the Technical Illustration package IsoDraw. He is the primary architect of the IsoDraw software program. Dieter Weidenbrück has developed a considerable experience in the field of documentation standards and is actively participating in standardization efforts concerning technical illustration. He is one of the authors of the WebCGM Recommendation. He serves as the current Chairman of the CGM Open Consortium.