Browse our Products
Aspose.SVG for Python via .NET 25.5 Release Notes
This page contains release-note information for Aspose.SVG for Python via .NET 25.5.0 (May 2025).
Major Features
We are pleased to announce Aspose.SVG for Python via .NET 25.5.0 — a May release that streamlines the rendering pipeline, unifies graphic-context handling across devices, simplifies SkiaSharp integration, and delivers measurable performance and memory gains.
Highlights
Feature | Benefit |
---|---|
Image → SVG conversionconverter.convert_image_to_svg(…) | Vectorise raster images from a file path or stream, fully configurable through ImageVectorizerConfiguration . |
Unified graphic-context model | Each rendering device (ImageDevice , PdfDevice , XpsDevice ) now exposes an embedded …GraphicContext class that stores the complete drawing state in one object. |
Rendering-API cleanup | Dozens of obsolete Canvas/Drawing/Adapter interfaces have been removed, resulting in a leaner public surface. |
Enhancements & Fixes
- Refactored graphics pipeline for faster SVG rendering and lower peak memory in complex documents.
- Consolidated SkiaSharp support into the main package—no separate extension assembly is required.
Public API Changes
Added APIs
Namespace / Type | Member |
---|---|
aspose.svg.converters.converter | convert_image_to_svg(config, input_path, output_path) convert_image_to_svg(config, stream, output_path) |
aspose.svg.rendering.image.ImageDevice | class ImageGraphicContext |
aspose.svg.rendering.pdf.PdfDevice | class PdfGraphicContext |
aspose.svg.rendering.xps.XpsDevice | class XpsGraphicContext |
Modified APIs
aspose.svg.rendering.GraphicContext
– eventtransformation_matrix_changed
removed; state changes are now handled internally.- Existing device constructors are still valid, but code that used the removed low-level interfaces listed below must be migrated.
Removed APIs (Breaking)
- Canvas layer –
ICanvas
,ICanvasContext
, allICanvas*Factory
,IPath
,clip_strategy
, and related types. - Legacy drawing abstractions –
color_space
,ICodec
,IBitmap
,IPixelsMap
,viewport
, gradient-brush cloning helpers, obsolete overloads inIDrawingFactory
, andILinearGradientBrush.clone/convert_to_texture_brush
. - Device-adapter hierarchy –
DeviceAdapter
,ISvgDeviceContext
, and all*DeviceFactory
interfaces. - Style & paint-server internals –
ISvgPropertyResolvingContext
,ISvgPaintServerFactory
,ISvgPaintServer
, plus related enums. - Typed-array helpers –
TypedArray
,TypedArray[T]
,Uint8ClampedArray
. - Miscellaneous –
SvgGeometryElement.get_equivalent_path_as_i_path
,SvgUseElement.instance_root
,Url.compare_to
.
For detailed examples and guidance, visit the documentation or post questions on the support forum.