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 refer to the World Wide Web Consortium (W3C) website https://www.w3.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 Imaging toolkit and are unlocked when the Vector features are unlocked.
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.
LEADTOOLS toolkits support loading this format as a raster image, vector image, or SVG (Scalable Vector Graphics) document.
The file constants associated with this file format are:
Constant | Read Support | Write Support | Description |
Svg | Yes | Yes | Scalable Vector Graphics Format. |
Scalable Vector Graphics Format. 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: |
Animation | Not Supported | Not Supported |
Circle | Supported | Supported |
Class Styles | Supported | Not Supported |
Clipping, Masking, and Compositing | Not Supported | Not Supported |
Color | Supported | Supported |
Ellipse | Supported | Supported |
Elliptical Paths | Supported | Not Supported |
Filling, Stroking, and Marker | Supported | Supported |
Filter Effects | Not Supported | Not Supported |
Fonts | Supported | Supported |
Gradients and Patterns | Not Supported | Not Supported |
Group Object | Supported | Not Supported |
HPolyBezier | Not Supported | Supported |
Interactivity | Not Supported | Not Supported |
Lines | Supported | Supported |
Linking | Not Supported | Not Supported |
Paths | Supported | Not Supported |
PolyBezier | Not Supported | Supported |
PolyDraw | Supported | Supported |
Polygons | Supported | Supported |
Polyline | Supported | Supported |
Raster | Supported | Supported |
Rectangle | Supported | Supported |
Spline | Not Supported | Supported |
Text | Supported | Supported |
Transformation Matrices | Supported | Not Supported |
Vertex | Not Supported | Not Supported |
Required DLL: Leadtools.Vector.dll and Leadtools.Svg.dll. 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 Format, WPG - WordPerfect Vector Format, WMF - Windows Metafile Formats, WMZ - Compressed Windows Metafile Format, E00 - ArcInfo Interchange File Format, MIF - MapInfo Interchange File Format.
Extension | Module | Value | Win32 | Win64 | Net32 | Net64 | Linux | Android | Apple | UWP | MimeType | Friendly Name |
---|---|---|---|---|---|---|---|---|---|---|---|---|
Svg | SVG | 247 | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | ✔ | image/svg+xml | SVG - Scalable Vector Graphics Format |
For a complete list for supported file formats, see Summary of All Supported File Formats.
For details of the file formats supported across products and platforms, refer to File Format Comparison Chart.