Last active
September 20, 2024 23:21
Revisions
-
aspose-com-kb revised this gist
Sep 20, 2024 . No changes.There are no files selected for viewing
-
aspose-com-kb created this gist
Sep 13, 2024 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ import aspose.svg from aspose.svg import * from aspose.svg.converters import * from aspose.svg.drawing.skiasharp import * from aspose.svg.saving import * # Activate the Aspose.SVG.Drawing.SkiaSharp feature Configuration.set_extension(SkiaModule()) options = ImageSaveOptions() options.format = aspose.svg.rendering.image.ImageFormat.PNG with SVGDocument("svg.svg") as document: # Convert SVG to PNG Converter.convert_svg(document, options, "SVGtoPNG.png")