News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Batch Converter (PNG to VSS)

Started by Dmitry, February 09, 2009, 06:38:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dmitry

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

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

#2
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.

Visio Guy

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

Even better one, with improvements: more connection points, better transparency etc...

y0gurt


nikos_ps

Dimitri you rock!!!!!!

thanks very much for the app...  :)

JuneTheSecond

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

Any chance of this being done the other way as well?  Need to go from VSS to PNG.

Paul Herber

This can be done quite easily in VBA.


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 for Visio -

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

ged325

After some research I ended up using the interop in .Net, thanks for the reply.

sunflower

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

once your stencil has been made (.vss), save as .VSX (which is the xml version of a stencil).
al

markem

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

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

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 414 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1286KB.
Tokens: post-login.
Cache hits: 13: 0.00160s for 26,767 bytes (show)
Cache misses: 2: (show)
Queries used: 15.

[Show Queries]