Aspose.SVG for Python via .NET is a powerful on-premise class library designed to enable developers to work seamlessly with SVG files across a wide range of operations without additional SVG manipulation tools.
Vendor
Aspose
Company Website
Aspose.SVG for Python via .NET is a powerful on-premise class library designed to enable developers to work seamlessly with SVG files across a wide range of operations, without relying on external SVG manipulation tools. The Python API strictly adheres to official SVG specifications and empowers developers to easily create, modify, render, and convert SVG content. It supports conversion to widely used formats such as PDF, PNG, JPEG, TIFF, WEBP, and GIF, while also offering image and text vectorization, SVG filter effects, and advanced transformation capabilities. This versatile API is ideal for building applications such as SVG editors, batch converters, mergers, vectorizers, design automation tools, and more. It provides full control over SVG nodes, content navigation through XPath queries, data extraction, merging functionality, optimization, and transformations including rotation, resizing, and cropping. Developers can work with SVG documents loaded from files, URLs, strings, or streams, making it a flexible choice for both desktop and server‑side Python solutions.
Features
Core SVG Capabilities
- Create and read SVG documents
- Edit and save SVG files
- Full control over SVG nodes
- Content navigation using XPath queries
- Extract data from SVG documents
- Encode images to Base64
- Work with element traversal and node editing
Conversion Features
- Convert SVG to PDF
- Convert SVG to PNG
- Convert SVG to JPEG
- Convert SVG to TIFF
- Convert SVG to WEBP
- Convert SVG to GIF
- Convert SVG to XPS
- Convert SVG to other major image formats
Vectorization & Image Processing
- Vectorize raster images into SVG
- Image stencil processing
- Text-to-vector conversion
- Supported conversions include:
- Image to SVG
- PNG to SVG
- JPG to SVG
- BMP to SVG
- ICO to SVG
- GIF to SVG
- TIFF to SVG
SVG Manipulation & Enhancements
- Merge multiple SVG files into one document
- Apply SVG filter effects
- Optimize SVG files
- SVG transformations: rotate, resize, crop
- Render SVG with high quality
- Modify and insert nodes dynamically
API Usage Highlights
- Load SVG from file, URL, stream, or string
- Render SVG documents via SkiaSharp integration
- Vectorize images using the ImageVectorizer API
- Merge SVG documents into single outputs (PDF, images, etc.)
Benefits
- No external software required: Fully independent SVG processing library for Python.
- Strict SVG specification compliance: Guarantees accurate rendering and transformation.
- High versatility: Ideal for SVG editors, converters, vectorizers, automation pipelines, and graphics generation tools.
- Advanced graphics processing: Includes vectorization, filter effects, transformations, and optimization.
- Developer‑friendly: Simple Python interface powered by robust .NET capabilities.
- Flexible document loading: Supports files, streams, URLs, and strings.
- High‑quality rendering: Suitable for production-grade graphics and document workflows.