Create, load, parse, render and convert SVG files to popular formats! Aspose.SVG for .NET is a flexible library for SVG file processing and is fully compatible with its specifications.
Vendor
Aspose
Company Website
Aspose.SVG for .NET is a flexible and fully specification‑compliant library designed for SVG file processing. It allows developers to create, load, parse, edit, save, optimize, vectorize, and convert SVG files without requiring any additional software. The API enables complete access to SVG documents through a powerful Document Object Model (DOM), allowing developers to traverse, edit, and manipulate elements with precision. The API supports converting SVG files to PDF, PNG, JPEG, GIF, BMP, and images, as well as transforming SVGZ files back to SVG. It also provides advanced capabilities such as color code conversion, merging multiple SVGs into a single output, vectorizing raster images, encoding embedded images to Base64, creating thumbnails, and applying transformations such as rotate, resize, and crop. Aspose.SVG for .NET is ideal for scenarios involving graphics manipulation, batch conversions, automated SVG processing, and advanced vector graphics workflows. With support for XPath navigation, CSS selectors, DOM traversal, node manipulation, and rendering control, the library provides developers with powerful tools to handle even the most complex SVG projects.
Features
Core SVG Processing
- Create and read SVG documents
- Edit SVG files, including inserting, removing, and modifying elements
- Convert SVG to popular formats (PDF, PNG, JPEG, GIF, BMP, IMAGE)
- Save and export SVG files
- Optimize SVG format
- Convert color codes
- Convert SVGZ to SVG
- Create thumbnails
Transformations
- Rotate SVG
- Resize SVG
- Crop SVG
Navigation & DOM Interaction
- Navigate SVG using XPath queries
- Use CSS selectors and document traversal
- Read and edit nodes programmatically
Vectorization & Image Processing
- Image vectorization tools included in the ImageVectorization namespace
- Convert raster images (PNG, JPG, BMP, TIFF, GIF, ICO) to SVG
- Vectorize SVG text efficiently
- Supported vectorizers include:
- Image Vectorization
- Text to Vector
- Image to SVG
- PNG to SVG
- JPG to SVG
- Stencil Drawing
- BMP to SVG
- ICO to SVG
- GIF to SVG
- TIFF to SVG
Merging SVG Files
- Merge multiple SVG documents into PDF or other image formats
- Batch rendering of multiple SVGs using
SvgRenderer - Supports rendering targets including PDF and image formats
Conversion Support
- SVG → PDF
- SVG → PNG
- SVG → JPEG
- SVG → GIF
- SVG → BMP
- SVG → IMAGE
API Usability
- Create/load SVG from file, URL, string, or stream
- High-quality rendering engine
- Suitable for C# and any .NET application
Benefits
- No external dependencies: Works without any third‑party software or browser engines.
- Full SVG specification compliance: Reliable rendering and editing across all SVG features.
- Powerful conversion engine: Convert SVG to numerous document and image types.
- Advanced graphics support: Vectorization, color conversions, transformations, and optimization.
- Automates complex SVG tasks: Ideal for batch processes, graphics workflows, PDF generation, and asset pipelines.
- Developer-friendly: Comprehensive DOM access, CSS & XPath support, and rich documentation.