Image Converter for Visio

PNG2VSS is a “Swiss knife” for conversion graphics to MS Visio stencils. You can import a lot of images by single click!

The latest version can import:

  • Raster images (png, bmp, dib, gif, jpg, jpeg, jpe, jfif, tif, tiff);
  • Vector images and metafiles (emf, wmf, emz, wmz, svg, svgz);
  • Visio drawings (vsd, vst, vdx, vtx);
  • CAD drawings (dwg, dxf);
  • Adobe Photoshop images (psd);
  • Adobe Illustrator files (ai);
  • PostScript files (ps, eps);
  • CorelDraw files (cdr).

Last 3 options require Inkscape and Ghostscript installed.

But it’s not all, it also can:

  • Add connection points to shapes;
  • Create transparent backgrounds for raster images;
  • Crop raster images;
  • Convert raster images to grayscale;
  • Re-size or scale images without degradation of original quality;
  • Add custom properties to shapes and fill them in with default values;
  • Save and load sets of custom properties to/from file;
  • Add prompts to shapes;
  • Create 1-dimensional shapes;
  • Add metadata to stencils;
  • Save conversion settings;
  • Process images automatically with command line options;
  • Visio drawings can be converted to flat vector graphics;
  • Vectorize raster images.

Requirements: MS Visio 2003-2012, NET Framework 4.0, MS Office 2010 Interop Assemblies.
Ensure that assemblies are installed before use:
1) Start Visio installation, do not reinstall it, just check off “.NET Programmability Support”.
2) Or: download Microsoft Office 2010: Primary Interop Assemblies Redistributable. This way also works if you still use Visio 2003 or 2007.

The latest version is 5.0. The utility is portable, installation is not required, just download and expand to some folder on your drive.

Every donation makes this utility a little bit better :)

62 thoughts on “Image Converter for Visio

  1. I am getting the following error. Any thoughts ? I have enabled all the files under the trust center.

    System.Runtime.InteropServices.COMException (0x86DB08C3):

    You are attempting to open or save a file type that is blocked by your File block settings in the Trust center.
    at Microsfot.Office.Interop.Visio.DocumentClass.SaveAs(String FileName) at Png2Vss.Form1.DoConversionProc(Object parameters)

  2. Hi Dmitry,

    I’m having problems with the UI not showing several of the entry fields (e.g. # of points fields, scale percentage, height/width fields). It seems like there’s an issue with DPI scaling since some of the fields will appear if I stretch the window to maximum width.

    Do you have any ideas how I can work around this behavior?


  3. Hi Dmitry
    Thank you for your hint, it works now !!! (great tool)
    one question more:
    does it make a big difference if I’m using a png oder eps as source file Format (Quality and Function)?
    eps requires inkscape and seems to more complicate?

    best regards

      1. the second and much bigger Problem is, that no conversion is possible anymore. It says proccessing and after a while I receive an error message like this: System.IO.FileNotFoundException: Failed to process file Filename “xyc…” with Png2Vss.Form1.DoConversionProc(Object Parameters)

        1. I’m still using Windows 7 & 8, so can’t check right now, but looks like it’s related to security permissions: the process cannot write files. Try to run png2vss under Administrator account (Run as Administrator).

      2. Hi Dmitry
        unfortunately I do have new and other Problems, because I changed my System and now I have Windows 10 installed and of course all the parts of png2vss.
        The first Problem I have is, that the path where inkscape, potrace is installed, is not stored within the the tool. Each time I close the png2vss, the settings are lost

  4. Hi Dimitri
    I’m Swiss and unfortunately I have to say, that a swiss army knife is working better, than your visio converter

    As soon as push the start button, an error message appears, which says “the program has stopped working.

    Any ideas, what the is going wrong here?

  5. Hi Dmitry
    Is this tool only for single images, or can I convert an entire .psd file of images to a Visio stencil? I have a large .psd file(50mb) of all of the Bootstrap Components that they show on there website. I was wondering if I could convert that big file to a Visio stencil, Or will I have to save off every image separately in order to convert.


  6. This is an awesome tool ;
    Tanks a lot.

    I have just one question; is it possible to enter formulas for value;
    e.g. =Pagename();
    In the shapesheet, there are always quotation marks added (“=Pagename()”

  7. i have tried it so many times but no hope. :( the image has been only an object and doesn’t handle each component inside it separately

  8. Getting the following error message when trying to convert .eps to .vss
    System.IO.FileNotFoundException: Failed to process file
    File name: ‘C:\Inkscpape\5V.eps’
    at Png2Vss.Form1.DoConversionProc(Object parameters)
    all required components installed, .eps exists and is accessible
    Any clues?

  9. Receiving error after clicking the “Start” button. Regarding POtrace file not found? Already reinstalled .net 4. Any other ideas? I’m running Win 7 32-bit

  10. Hello, I am trying to convert a PNG to VSS and as soon as I click “Start” to start the conversion I get “png 2 vss converter has stopped working” with the following error:

    Problem signature:
    Problem Event Name: CLR20r3
    Problem Signature 01: png2vss.exe
    Problem Signature 02:
    Problem Signature 03: 52f7df78
    Problem Signature 04: mscorlib
    Problem Signature 05: 4.0.30319.18444
    Problem Signature 06: 52717d7e
    Problem Signature 07: 1624
    Problem Signature 08: 70
    Problem Signature 09: System.IO.FileNotFoundException
    OS Version: 6.1.7601.
    Locale ID: 1033
    Additional Information 1: 5e19
    Additional Information 2: 5e19ee1c696ef6172247e218fb962904
    Additional Information 3: 3953
    Additional Information 4: 39531684678f776a04e2bf0e6976d2cd

    I am on Win 7 64bit, Visio 2010, have installed Office 2010 interop assemblies, enabled .NET programmability support and have .NET framework 4.0+

    Can you please assist?


  11. THIS Tool is exactly what I’m looking for.

    We have a bunch of vector graphic pictograms in EPS and some users requestet to use them in Visio2010 and 2013. I tried several ways with no success.

    However with Dimitrys tool I can easly bring a bunch of Pictogramms in a Visio stencil and nothing is getting lost. Really a great tool.

    Well done Dimitry

    Betty Bossi

  12. Hello … Is it possible to convert in a batch mode in the other direction, I.e. VSS to PNG ? Can anyone recommend a tool for this ?

    Many thanks


  13. Great tool, thanks a lot!
    One minor issue (no real issue for me): the text that I add to the images in Visio (Visio 2010) isn’t resizable, even when ‘Flatten Visio drawing’ is turned on.

    1. During installation, I get an error like “A DLL required for this install to complete could not be run”. My OS is Windows 7 ultimate 64 bit. I have NET Framework 4.0 already installed. What is the solution?

    1. Using VBA script, e.g.:

      Sub Export2SVG()

      Dim vsoStencil As Visio.Document
      Dim vsoDocument As Visio.Document
      Dim vsoMaster As Visio.Master
      Dim vsoShape As Visio.Shape

      ‘ replace file name
      Set vsoStencil = Documents.Add(“Your Shapes.vss”)
      Set vsoDocument = Documents.Add(“”)

      For Each vsoMaster In vsoStencil.Masters
      Debug.Print “Exporting ” & vsoMaster.Name & “…”
      Set vsoShape = vsoDocument.Pages(1).Drop(vsoMaster, 0#, 0#)
      ‘ change path
      vsoShape.Export (“D:\SVG\” & vsoMaster.Name & “.svg”)

      vsoDocument.Saved = True
      End Sub

  14. Thanks very usefull piece of software. Noticed a typo in it though, in the tab Shape Data its says propmt instead of prompt.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s