Last active
February 2, 2024 14:23
-
-
Save aspose-com-kb/73a54826e8c5d3eca484ba6404f2f9fc to your computer and use it in GitHub Desktop.
How to Convert Visio to JPG in Python. For further details:https://kb.aspose.com/diagram/python/how-to-convert-visio-to-jpg-in-python/
This file contains hidden or 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 characters
import aspose.diagram | |
from aspose.diagram import * | |
# Initialize a Diagram class | |
diagram = Diagram("Drawing.vsdx") | |
# Create ImageSaveOptions class object | |
options = saving.ImageSaveOptions(SaveFileFormat.JPEG) | |
# Convert Visio to JPG | |
diagram.save("Visio.jpg", options) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment