Scalable Vector Graphics Format (SVG)

The Scalable Vector Graphics file format is an Internet standard vector format for describing two-dimensional graphics in XML. SVG supports vector graphic shapes, images, and text. For more information about this format please refer to the World Wide Web Consortium (W3C) website http://www.w3c.org.

This file format is not supported in the non-vector toolkits. Read support and write support for this format are provided in the LEADTOOLS Vector toolkits and are unlocked when the Vector features are unlocked. For more information on available LEADTOOLS products, refer to Topic Selection or contact LEAD.

The default extension used by this format is: SVG.

This file format is supported by Adobe SVG Viewer, CorelDraw! 10.0, JASC WebDraw and Apache Batik SVG browser.

This file format does not support layers, but it will save embedded raster objects.

When saving SVG files, the images are stored externally and a reference to the image(s) is added to the file.  Use FILE_SVG_EMBED_IMAGES to save raster images embedded inside the SVG file.

File constants associated with this file format are:

Constant

Read Support

Write Support

Description

FILE_SVG

Yes

Yes

[247] Scalable Vector Graphics Format.

FILE_SVG_EMBED_IMAGES

Yes

Yes

[289] Scalable Vector Graphics Format with embedded raster images.

When SVG files are rasterized, they are 24 BPP.

 

The following table indicates which objects LEAD can load and which objects it can save:

Object:

Load:

Save:

Rectangle

Supported

Supported

Circle

Supported

Supported

Ellipse

Supported

Supported

Lines

Supported

Supported

Polyline

Supported

Supported

Polygons

Supported

Supported

PolyDraw

Supported

Supported

Raster

Supported

Supported

Vertex

Not Supported

Supported

PolyBezier

Not Supported

Supported

Spline

Not Supported

Supported

HPolyBezier

Not Supported

Supported

Text

Supported

Supported

Filling,Stroking, and Marker

Supported

Supported

Gradients and Patterns

Not Supported

Not Supported

Color

Supported

Supported

Clipping, Masking, and Compositing

Not Supported

Not Supported

Filter Effects

Not Supported

Not Supported

Interactivity

Not Supported

Not Supported

Linking

Not Supported

Not Supported

Animation

Not Supported

Not Supported

Fonts

Supported

Supported

 

Required DLL: LFSVG. For a listing of the exact DLLs needed, based on the toolkit version, refer to Files To Be Included With Your Application.

 

Related Formats: CGM - Computer Graphics Metafile, CMX - Corel Presentation Exchange Format, DGN - Intergraph Format, DRW - Micrografx Designer DRaWing, DWF - DWF Format, DWG - DWG Format, DXF - Drawing Interchange Format, EMF - Windows Metafile Formats, GBR - Gerber Format, PCL - Printer Command Language Format, PCT - Macintosh Pict Format, PDF - Portable Document Format, PLT - PLT / HPGL Format, PS - PostScript Document Format, RTF - Rich Text Format, SHP - ESRI Shape FormatVEC - LEADTOOLS Vector Dump Format,VPG - WordPerfect Vector Format, WMF - Windows Metafile Formats, WMZ - Compressed Windows Metafile Format.