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

0 Members and 1 Guest are viewing this topic.

Dmitry

  • Newbie
  • *
  • Posts: 9
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

  • Newbie
  • *
  • Posts: 9
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

  • Newbie
  • *
  • Posts: 9
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: 1737
  • 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

  • Newbie
  • *
  • Posts: 9
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: 3369
    • 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
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.

sunflower

  • Newbie
  • *
  • Posts: 1
Re: Batch Converter (PNG to VSS)
« Reply #11 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 #12 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

markem

  • Jr. Member
  • **
  • Posts: 52
Dimitry! Are you still here?
« Reply #13 on: October 28, 2018, 12:04:07 AM »
Hey! I hope you read this. I have been using your PNG2VSS program for a while. It is utterly fantastic. My problem is - I have thousands of files to load in to VSS files. So your program helps - but I need to be able to run it at the command level. I.E.: c:>png2vss <Directory to convert>.

Is this possible? Hopefully you will see and respond to this post.  Thanks if you do in advance!

By the way - if you have the source code still and do not want to work on this - let me have the source code and I'll work on it myself and give you back the code. :-)

Dmitry

  • Newbie
  • *
  • Posts: 9
Re: Batch Converter (PNG to VSS)
« Reply #14 on: October 28, 2018, 05:10:42 AM »
What you're asking for is already implemented. Look into manual, section 3.8.
The latest version is 5.4:
https://drive.google.com/file/d/1tR34z64zveZLo_nPxhL9wbdLJSiPPcmO/view?usp=sharing