Visio Guy

Visio Discussions => General Visio => Topic started by: iRacer on April 19, 2020, 03:49:56 PM

Title: Storing Image Path with Shape
Post by: iRacer on April 19, 2020, 03:49:56 PM
Good morning, as the title suggests I'm pretty new to Visio and have a few questions. My company has picked up a new controls line that uses Visio for graphics editing. I have a vast collection of .PNG images and shapes that I have used over the years in my other graphics packages that I would like to convert to stencils. I've watched a few videos on how to create a custom stencil and have got that down for the most part. My question is, how can I import my images and keep the original file names (such as LgDuct90Down)? Or will I have to take the time and rename each and every one individually from Master to whatever? Thanks in advance.
Title: Re: Storing Image Path with Shape
Post by: Surrogate on April 19, 2020, 07:57:14 PM
Few years ago i did find 3rd-party tool named png2vss!
(http://visguy.com/vgforum/index.php?action=dlattach;topic=9130.0;attach=10213;image)
Now i cant find it because developer's site (https://dmitryivanov.net/image-converter-for-visio/) not exist!
You can find it in another sites, i am not sure that download there software is safety.  :-\
Title: Re: Storing Image Path with Shape
Post by: vojo on April 19, 2020, 09:00:15 PM
Can I assume all that you are talking about is saving a bunch pngs into a stencil where each png can have its own name.
Pretty straight forward
- create a stencil ...maybe <my fabulous pngs>
- edit that stencil
- bring a given PNG into a drawing (copy from source... paste into visio drawing page)
- drag the png from drawing page to that stencil
- right click png in stencll ==> master properties ==<pick your png name e.g "this is my most fabulous png">
- repeat as needed
- save stencil
Title: Re: Storing Image Path with Shape
Post by: Paul Herber on April 19, 2020, 09:03:24 PM
I have a utility that might help you with this ...

https://www.paulherber.co.uk/visio-utilities3/ (https://www.paulherber.co.uk/visio-utilities3/)

Title: Re: Storing Image Path with Shape
Post by: iRacer on April 19, 2020, 10:35:08 PM
Quote from: vojo on April 19, 2020, 09:00:15 PM
Can I assume all that you are talking about is saving a bunch pngs into a stencil where each png can have its own name.
Pretty straight forward
- create a stencil ...maybe <my fabulous pngs>
- edit that stencil
- bring a given PNG into a drawing (copy from source... paste into visio drawing page)
- drag the png from drawing page to that stencil
- right click png in stencll ==> master properties ==<pick your png name e.g "this is my most fabulous png">
- repeat as needed
- save stencil

Thanks, but this is what I am trying to streamline. I've got literally 1000's of parts and pieces as .png's in my library, several 100 I use on the regular. I couldn't begin to imagine how long it would take to convert em all one by one.
Title: Re: Storing Image Path with Shape
Post by: Visio Guy on April 20, 2020, 09:14:34 AM
I have a utility that helps you scale images for tracing or for floorplan backgrounds (not for sale...yet).

When you import an image with this tool, I automatically stuff the date and filepath of the image into the image-shape as Shape Data. If you are fluent with Shape Data fields, this might be a good technique to use:

Title: Re: Storing Image Path with Shape
Post by: metuemre on April 20, 2020, 10:22:46 AM
Below is a safe link to png2vss software.

https://www.dropbox.com/s/luvsmd4zlw66wtk/Png2Vss.zip?dl=0 (https://www.dropbox.com/s/luvsmd4zlw66wtk/Png2Vss.zip?dl=0)