Skip to main content

MS-Visio file (.vsd, .vsdx) to images converter

Project description

visio2img is a image converter. It converts from MS-Visio file (.vsd, .vsdx) to images.

Build Status Coverage Latest PyPI version Number of PyPI downloads

Requirements

  • Python 2.7, 3.3 and later

  • pywin32

  • Microsoft Visio

Setup

  1. Install pywin32 manually

  2. Install visio2img package:

    $ pip install visio2img

And then, visio2img command is available on your environment.

Usage

Execute visio2img command:

$ visio2img [visio_filename.vsdx] [image_filename.png]

If your visio file has multiple pages, visio2img command generates image files for each page.

page option

-p (–page) option choices a page by page number.

For example, this command-line picks up second page of visio file:

visio2img.py -p 2 visio_filename.vsdx output.png

name option

-n (–name) option choices a page by page name.

For example, this command-line picks up a page named “circle”:

visio2img.py -n "circle" visio_filename.vsdx output.png

Author

Yassu <mathyassu@gmail.com>

Maintainer

Takeshi KOMIYA <i.tkomiya@gmail.com>

License

Apache License 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

visio2img-1.3.0.tar.gz (8.0 kB view hashes)

Uploaded source

Built Distribution

visio2img-1.3.0-py2.py3-none-any.whl (6.6 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page