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 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 Pro 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. Use FILE_SVG_EMBED_IMAGES to save raster images embedded inside the SVG file.
LEADTOOLS supports loading this format as raster image, vector or SVG (Scalable Vector Graphics) document.
File constants associated with this file format are:
|Constant||Read Support||Write Support||Description|
|FILE_SVG||Yes||Yes|| Scalable Vector Graphics Format.|
|FILE_SVG_EMBED_IMAGES||Yes||Yes|| Scalable Vector Graphics Format with embedded raster images.|
|FILE_SVGZ||Yes||Yes|| GZIP compressed SVG.|
When SVG files are rasterized, they are 24 BPP.
The following table indicates which objects LEAD can load and which objects it can save:
|Animation||Not Supported||Not Supported|
|Class Styles||Supported||Not Supported|
|Clipping, Masking, and Compositing||Not Supported||Not Supported|
|Elliptical Paths||Supported||Not Supported|
|Filling, Stroking, and Marker||Supported||Supported|
|Filter Effects||Not Supported||Not Supported|
|Gradients and Patterns||Not Supported||Not Supported|
|Group Object||Supported||Not Supported|
|Interactivity||Not Supported||Not Supported|
|Linking||Not Supported||Not Supported|
|Transformation Matrices||Supported||Not Supported|
|Vertex||Not Supported||Not Supported|
Required DLLs and Libraries
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries