Author Topic: Batch Converter (PNG to VSS)  (Read 32612 times)

0 Members and 1 Guest are viewing this topic.

Dmitry

  • Jr. Member
  • **
  • Posts: 18
Batch Converter (PNG to VSS)
« on: February 09, 2009, 01:38:54 PM »
Hi,
I'm looking for batch conversion utility to create single vss file from many graphics files (e.g png). Has anyone can recommend such software?
Thanx.

Dmitry

  • Jr. Member
  • **
  • Posts: 18
Re: Batch Converter (PNG to VSS)
« Reply #1 on: February 11, 2009, 05:54:33 PM »
Haven't found anything, so ... have done it - if anyone is interested, download the attached file and feel free to use.
You'll be able:
- convert hundreds of graphics files into single Visio stencil file;
- create connection points (as many as you want).
Unzip & install, note it requires Visio 2003 or 2007 and NET Framework 3.5.

Dmitry

  • Jr. Member
  • **
  • Posts: 18
Re: Batch Converter (PNG to VSS)
« Reply #2 on: February 18, 2009, 07:46:13 AM »
After reading this: Create Clean & Tidy Visio Shapes Using Images With Transparent Backgrounds, I've made improved version, now with automatic cropping and making transparent backgrounds. Still the same requirements.
« Last Edit: February 18, 2009, 09:17:58 AM by Visio Guy »

Visio Guy

  • Administrator
  • Hero Member
  • *****
  • Posts: 1669
  • Smart Graphics for Visual People...n' Stuff
    • Visio Guy
Re: Batch Converter (PNG to VSS)
« Reply #3 on: February 18, 2009, 09:27:17 AM »
Wow, thanks Dmitry, very impressive!
For articles, tips and free content, see the Visio Guy Website at http://www.visguy.com
Get my Visio Book! Using Microsoft Visio 2010

Dmitry

  • Jr. Member
  • **
  • Posts: 18
Re: Batch Converter (PNG to VSS)
« Reply #4 on: March 04, 2009, 05:48:34 PM »
Even better one, with improvements: more connection points, better transparency etc...

y0gurt

  • Newbie
  • *
  • Posts: 1
Re: Batch Converter (PNG to VSS)
« Reply #5 on: July 02, 2009, 09:16:32 AM »
OK Dmitry, This Rocks! Thanks!

nikos_ps

  • Newbie
  • *
  • Posts: 1
Re: Batch Converter (PNG to VSS)
« Reply #6 on: July 25, 2010, 02:47:28 AM »
Dimitri you rock!!!!!!

thanks very much for the app...  :)

JuneTheSecond

  • Hero Member
  • *****
  • Posts: 1027
    • Visio Shapes, Stencils and Sample Drawings
Re: Batch Converter (PNG to VSS)
« Reply #7 on: July 26, 2010, 02:15:12 AM »
Cool and wonderful!
I was wasting time with various tools to remove background!
Now it is almost automatic!
Thank you, Dimitri!
Best Regards,

Junichi Yoda
http://june.minibird.jp/

ged325

  • Newbie
  • *
  • Posts: 5
Re: Batch Converter (PNG to VSS)
« Reply #8 on: November 18, 2010, 11:37:32 AM »
Any chance of this being done the other way as well?  Need to go from VSS to PNG.

Paul Herber

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2809
    • Paul Herber's website
Re: Batch Converter (PNG to VSS)
« Reply #9 on: November 18, 2010, 04:37:31 PM »
This can be done quite easily in VBA.

Code: [Select]
with empty page
for each shape in stencil {
  drop shape on page
  select all
  save as <shape.name>.png
  delete shape
}
Electronic and Electrical engineering, business and software stencils and applications for Visio -

https://www.paulherber.co.uk/

ged325

  • Newbie
  • *
  • Posts: 5
Re: Batch Converter (PNG to VSS)
« Reply #10 on: November 18, 2010, 10:43:11 PM »
After some research I ended up using the interop in .Net, thanks for the reply.

Dmitry

  • Jr. Member
  • **
  • Posts: 18
Re: Batch Converter (PNG to VSS)
« Reply #11 on: August 12, 2011, 07:58:56 PM »
If someone still uses it: here is the new version with improved transparency: http://dmitry-ivanov.tumblr.com/post/8844246276/batch-converter-for-visio.
Please, let me know if it works well with Visio 2010.

Dmitry

  • Jr. Member
  • **
  • Posts: 18
Re: Batch Converter (PNG to VSS)
« Reply #12 on: August 30, 2011, 10:13:12 AM »
It's been moved to my blog: http://dmitryivanov.net.

sunflower

  • Newbie
  • *
  • Posts: 1
Re: Batch Converter (PNG to VSS)
« Reply #13 on: December 13, 2011, 05:34:44 AM »
Hi,

Is there any means by which we can convert the imgaes to vdx file ????? i.e an *.jpg file to *.vdx file where we can have all the processes that are there in image mapped to vdx.


aledlund

  • Hero Member
  • *****
  • Posts: 1412
Re: Batch Converter (PNG to VSS)
« Reply #14 on: December 13, 2011, 10:03:55 AM »
once your stencil has been made (.vss), save as .VSX (which is the xml version of a stencil).
al