Scalable Vector Graphics (SVG) is a vector image format for 2D graphics. The SVG specification has been maintained by the World Wide Web Consortium since 1999.
An SVG image (.svg file) is defined in XML text files as a fixed set of shapes. By contrast, other common raster image formats like Joint Photographic Experts Group (JPEG, .jpeg files) or Portable Network Graphics (PNG, .png files) are composed of a fixed set of pixels. A benefit to using SVG images is that the integrity of shapes is preserved in scaling. Scaling a JPEG or a PNG can lead to distortion as the pixels are revealed.
You can import SVG files as marker symbol layers within symbol, and you can import SVG files directly onto a layout.
SVG Tiny is a profile of SVG originally designed for mobile devices. ArcGIS AllSource supports much of the SVG Tiny 1.2 specification. To learn more about SVG Tiny 1.2 see the Scalable Vector Graphics (SVG) Tiny 1.2 Specification.
Supported SVG elements
- Paint attributes, opacity attributes, and other style and presentation attributes
- Shapes. All shapes support paint, opacity, and style attributes, as well as transformations and clipping.
- Text. ArcGIS AllSource accesses the Windows font folder and ArcGIS AllSource resource folder only. If an SVG file references a font-family or font-style name that does not match a font in either of these folders, it reverts to a default font.
- Clip paths
- Limited support for gradients
- Limited support for patterns
Unsupported SVG elements
- Animation
- Color Profile
- Conditional Processing
- Extensibility
- Filters
- Hyperlinking
- Interactivity
- Masking
- Scripting
- Views