Supported Features – Aspose.SVG for Python via .NET

Quick Answer: Aspose.SVG for Python via .NET supports SVG document creation and loading, DOM editing, attribute handling, CSS selectors, XPath, resource handling, rendering, conversion to PDF/XPS/images, image vectorization, text vectorization, SVG styling features, filters, gradients, transformations, and color-related workflows.

Feature Coverage

Aspose.SVG for Python via .NET is not limited to the workflows already covered by tutorials. The API exposes SVG documents through a DOM model and includes namespaces for conversion, rendering, saving, resource handling, and vectorization. Some capabilities have focused articles; others are available through the API Reference and can be used in custom workflows.

Use this page as a capability map. For implementation details, follow the related docs or open the linked API Reference entries.

Capability Matrix

Feature areaWhat it enablesMain APIs or reference areaRelated docs
SVG document creation and loadingCreate blank SVG documents, parse SVG markup, load local files, streams, and URLsSVGDocumentCreate SVG File
SVG DOM manipulationCreate elements, append nodes, insert nodes, update document structureElement, NodeEdit SVG File
SVG attribute editingGet, set, check, remove, and batch-update element attributesget_attribute(), set_attribute(), remove_attribute()Work with SVG Attributes
Navigation and inspectionRead markup, iterate elements, inspect attributes, traverse document nodesouter_html, get_elements_by_tag_name()Navigate SVG
CSS selector queriesFind elements by tag, ID, class, attribute, or CSS-like patternquery_selector(), query_selector_all()Navigate SVG
XPath queriesFind nodes by structural conditions and attribute valuesDocument.evaluate(), XPathResultTypeNavigate SVG
SVG savingSave SVG documents after creation or editingSVGDocument.save()Save SVG File
Resource handlingSave SVG with linked resources such as images and CSSFileSystemResourceHandler, ResourceHandlerSave SVG File
SVG to PDF and XPS conversionExport SVG content to fixed-layout document formatsConverter, PdfSaveOptionsConvert SVG Files, Convert SVG to PDF
SVG to image conversionExport SVG to PNG, JPG, BMP, TIFF, and GIF workflowsImageSaveOptions, ImageFormatConvert SVG to PNG, Convert SVG to Image
Device-based renderingRender SVG through output devices when explicit rendering control is neededPdfDevice, ImageDeviceConvert SVG to PDF, Convert SVG to Image
Rendering and save optionsConfigure page setup, margins, background, resolution, quality, and CSS handlingRenderingOptions, PageSetupConversion articles and API Reference
Image vectorizationTrace raster images into SVG paths and shapes with configurable settingsImageVectorizer, ImageVectorizerConfigurationVectorize Images
Image stencil workflowsProduce simplified stencil-style vector output from raster imagesaspose.svg.imagevectorizationImage Stencil
Text vectorizationConvert SVG text to vector path data for consistent renderingSVGSaveOptions, vectorize_textText Vectorization
SVG styling featuresWork with SVG styles, presentation attributes, fills, strokes, opacity, gradients, patterns, and filters through SVG markup and DOM attributesElement, SVGDocumentAPI Reference and SVG DOM articles
Colors and paint attributesRead or update color-related attributes such as fill, stroke, stop-color, and opacity-related valuesElement.set_attribute()Work with SVG Attributes
TransformationsApply or edit SVG transform attributes such as translate, scale, rotate, and matrix valuesElement.set_attribute()API Reference and SVG DOM articles
SVG cleanup workflowsPrepare cleaner SVG output through document editing, attribute cleanup, and save workflowsSVGDocument, SVGSaveOptionsAPI Reference
SVG merging and composition workflowsCombine or compose SVG content by importing, appending, or rendering documents into a target workflowSVGDocument, NodeAPI Reference
Licensing and evaluationApply file, stream, or metered licenses and remove evaluation restrictionsLicense, MeteredLicensing

Feature Groups by Workflow

WorkflowTypical features used together
Build SVG programmaticallySVGDocument, element creation, attributes, DOM insertion, save
Inspect and update existing SVGmarkup inspection, tag-name search, CSS selectors, XPath, attribute editing
Export SVG for publishingconversion, rendering options, page setup, background color, resolution
Process linked assetsresource handlers, save workflows, correct base paths
Produce vector output from imagesimage vectorization, color limits, smoothing, path building, SVG save
Prepare consistent text outputtext vectorization and SVG save options

FAQ

Does Aspose.SVG for Python support SVG DOM editing?

Yes. The API exposes SVG documents through SVGDocument, Element, and Node, allowing you to create elements, edit attributes, and modify the document tree.

Does it support CSS selectors and XPath?

Yes. You can use CSS selector methods such as query_selector() and XPath evaluation through document.evaluate().

Can Aspose.SVG for Python convert SVG to PDF and images?

Yes. It supports conversion workflows for PDF, XPS, PNG, JPG, BMP, TIFF, and GIF through converter APIs, save options, and rendering devices.

Can it vectorize raster images?

Yes. The image vectorization API can trace raster images such as PNG, JPG, BMP, TIFF, and GIF into SVG vector output.

Are all product features covered by separate Python tutorials?

No. Some capabilities are covered by focused articles, while others are available through the API Reference and can be implemented with DOM, rendering, saving, or vectorization APIs.

Where can I find APIs for features not covered by tutorials?

Use the Aspose.SVG for Python via .NET API Reference and combine it with the closest workflow article, such as navigation, attributes, editing, saving, or conversion.

Related Articles