A while ago, I published a post on exporting Visio pages to PNG format. This is something I do quite often. This post received good amount of views and I had a couple of people reaching out to me asking if I can extend that function to export visio pages to other formats as well.
I often create Visio diagrams and export the same to PNG format for use in whitepapers or blog posts. Here is a simple script I use to perform this every time I update the Visio document and I need to convert the drawings to PNG images.