Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Aspose.SVG for Python via .NET loads SVG and SVGZ documents and saves or converts SVG content to SVG, SVGZ, PDF, XPS, PNG, JPG, BMP, TIFF, and GIF workflows depending on the API used. Use SVGDocument.save() with SVGSaveFormat for SVG or SVGZ output and Converter.convert_svg() to export to other formats.
Use this page to confirm the format workflow before choosing a tutorial. SVG and SVGZ are document input formats, where SVGZ is the same SVG markup stored in compressed form. Conversion APIs export SVG content to document and raster image formats.
| Format | Description | Load | Save or export | Start here |
|---|---|---|---|---|
| SVG | Scalable Vector Graphics | Create SVG File | ||
| SVGZ | GZIP-compressed SVG | SVGDocument and
SVGSaveFormat | ||
| Portable Document Format | Convert SVG to PDF | |||
| XPS | XML Paper Specification | Convert SVG Files | ||
| PNG | Portable Network Graphics | Convert SVG to PNG | ||
| JPG | Joint Photographic Experts Group image | Convert SVG to Image | ||
| BMP | Bitmap Image File | Convert SVG to Image | ||
| TIFF | Tagged Image File Format | Convert SVG to Image | ||
| GIF | Graphics Interchange Format | Convert SVG to Image |
Use SVGDocument.save() when you want the output to remain SVG or compressed SVGZ. Use Converter.convert_svg() or rendering devices when you need PDF, XPS, PNG, JPG, BMP, TIFF, or GIF output.
| Goal | Recommended API | Related article |
|---|---|---|
| Load SVGZ for editing or rendering | SVGDocument | Create SVG File |
| Save edited SVG as SVG | SVGDocument.save() | Save SVG File |
| Save edited SVG as SVGZ | SVGDocument.save() with
SVGSaveFormat | Save SVG File |
| Convert SVG to PDF | Converter.convert_svg() with PdfSaveOptions | Convert SVG to PDF |
| Convert SVG to PNG | Converter.convert_svg() with ImageSaveOptions | Convert SVG to PNG |
| Convert SVG to JPG, BMP, TIFF, or GIF | ImageSaveOptions and image format selection | Convert SVG to Image |
No. SVG is the primary document input format for SVG document workflows. Raster-to-vector workflows are covered by image vectorization APIs.
Yes. Use SVGDocument.save() to save the edited SVG document.
Yes. Use SVGDocument.save() with
SVGSaveFormat when you need compressed SVGZ output.
Yes. Load an .svgz file with SVGDocument when you need to inspect, edit, save, or render compressed SVG content.
No. SVGZ stores the same SVG markup in GZIP-compressed form. Use it when you need smaller SVG files for storage or transfer.
Saving keeps the result as SVG or SVGZ. Exporting renders the SVG document to PDF, XPS, PNG, JPG, BMP, TIFF, or GIF.
Check the aspose-svg-net package on PyPI for current package metadata, supported Python versions, and platform information.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.