Full Name | SVG (Scalable Vector Graphics format) |
Format ID | IG_FORMAT_SVG = 77 |
File Extension(s) | *.svg |
Data Type | Vector Image |
Data Encoding | Binary |
ImageGear Multipage Support | No |
ImageGear Alpha Channel Support | No |
ImageGear Platforms Support | WIN32, WIN64 |
To support the SVG format, attach the ImageGear CAD/Vector SVG Component to Core ImageGear. |
ImageGear Supported Versions:
- SVG 1.1 (partial)
ImageGear Supported Features:
- IG_FLTR_DETECTSUPPORT - autodetection
- IG_FLTR_PAGEREADSUPPORT - single page file reading
- IG_FLTR_PAGEINSERTSUPPORT - single-page file writing
ImageGear Read Support:
- IG_COMPRESSION_NONE - Vector data
ImageGear Write Support:
- IG_COMPRESSION_NONE - Vector data
ImageGear Filter Control Parameters:
Filter Control Parameter | Type | Default Value | Available Values | Description |
EXTERN_FILE_PATH | String | "" | Any string up to 262 characters | Defines a path where external files (like raster images) should be looked for. A value of "" looks in the same directory as the file being loaded. |
WIDTH | INT | 512 | Any positive value | Defines the DIB width of the loaded image. The DIB height is calculated using the file's scale factors. |
Comments:
SVG (Scalable Vector Graphics) is a platform for two-dimensional graphics. It has two parts: an XML-based file format and a programming API for graphical applications. SVG allows for three types of graphic objects: vector graphic shapes (e.g., paths consisting of straight lines and curves), raster images, and text. Graphical objects can be grouped, styled, transformed and composited into previously rendered objects. Text can be in any XML namespace suitable to the application, which enhances searchability and accessibility of the SVG graphics. The feature set includes nested transformations, clipping paths, alpha masks, filter effects, template objects and extensibility.
SVG drawings can be dynamic and interactive. The Document Object Model (DOM) for SVG, which includes the full XML DOM, allows for straightforward and efficient vector graphics animation via scripting. A rich set of event handlers such as onmouseover and onclick can be assigned to any SVG graphical object. Because of its compatibility and leveraging of other Web standards, features like scripting can be done on SVG elements and other XML elements from different namespaces simultaneously within the same Web page.
The ImageGear CAD/Vector SVG component provides the ability to import Scalable Vector Graphics format into ImageGear. This allows your application to use them like any other format supported by ImageGear. SVG is a modularized language for describing two-dimensional vector and mixed vector/raster graphics in XML.
If you attach this Component to core ImageGear it allows you to initialize SVG Format Filter functionality, which can be accessed through core ImageGear Format Filter API.
You can detect, read, write, and work with single-page SVG files.
SVG format filter supports the following elements:
- Line
- Polyline
- Polygon
- Rect
- Circle
- Ellipse
- Text (ASCII only)
- Tspan (for text)
- Path
- Image
- ClipPath
- g (group)
- Switch
- Defs
- Marker
- Symbol
- LinearGradient
- RadialGradient
- Stop (for gradients)
References Used
About SVG - 2d Graphics in XML.- http://www.w3.org/Graphics/SVG/About.html