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;
  • Create line, line ends and fill pattern stencils.

Requirements: MS Visio 2003-2016, NET Framework 4.0, Microsoft Office 2010: Primary Interop Assemblies Redistributable.

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

Sample stencils created with PNG2VSS:
32 ancient symbols found in Ice Age caves across Europe
Social media icons

89 thoughts on “Image Converter for Visio

  1. Great utility! Is there a way to add custom connector points in an image? I see that you can add in the β€˜shapes’ tab, but wondered if you could add a connector point in the middle of an image or to a network port.

    Thank you,

  2. Hello Dmitry, Sorry but I’m a newbie to Visio and your awesome program. I seemed to have figured out all I need except how to include a predefined (but editable) text label when importing shapes. Labels like the canned shapes have. I am using Inkscape as my SVG editor.

    Thanks! Your program is amazing!

  3. I am not sure if I am using the program correctly… my SVG imported into a new VSS always turn out becoming a single colored line drawing. All the colors have disappeared. What is the correct setting to use in order to import the colors from the svg?

  4. Can your tool import muliple SVG files into one Visio file? Visio allows you to import multiple SVG files, but they all show up as separate visio files. I have several SVG files that I want to be pages in one Visio doc.

  5. Cannot get PNG2VSS 5.1 to work with potrace v1.13 in creating a vectorized Visio stencil. No matter where I place potrace, PNG2VSS cannot find it. 😦 It does create the stencil if vectorized isn’t selected.

  6. HI Dimitri,
    I’m trying to use this fabulous looking utility on a Windows 10 PC and every time I click the start button I just get the windows message “this program has stopped working”.
    I’ve tried running it normally and at Admistrator level with the same result.
    Any thoughts on why this might be happening?

  7. Absolutely brilliant tool! I am donating for sure…worked flawlessly to convert two icon collections into visio shapes…I was happy enough that it was able to do the basic conversion…but then I was mucking around for an hour or so tryiong to work out how to stop Visio themes from ruining the icon colour scheme…then I realised that Dimitri’s tool had a tick box that does this for me…very happy man…great work

  8. I love this program! Thank you so very much for making it! I wondered about two things: 1)Could you make a similar program to produce fill patterns? and 2)Could you make a similar program to make line patterns? I have a ton of old repeating line patterns from books from the late 1800s. It has taken me months to just scan in the images. I’m still working on a way to just split up the images presently but it would be fantastic to be able to load a segment in and replicate that as a line pattern (rather than having to do it all by hand). Thanks again and as I said in my other post (which I put on the wrong page – forgot I was on the Visio Stencil library page). I just about cried when I found your website. I’m busily converting the thousands of individual images I have into stencils. All I can say is “WOW!”. Thanks again πŸ™‚ I’ll donate some money as soon as I get my next unemployment check. πŸ™‚

      1. Hi Dmitry, i have visio drawings which are in JPEG format. is it possible to convert it back to visio drawings so i can edit them ? Because i tried your program and all i managed to do is import the JPEG pictures without being able to edit them.


        Big fat donation from me if this works

  9. Dimitri, thank you, thank you, thank you. I’ve been looking for a way to import SVG files into Visio 2016 such that my Theme colors apply to the artwork. Your application did the trick. You have my sincerest gratitude. All the best to you, sir!

  10. Great tool! Using to convert some shapes from a PowerPoint to Visio shapes. One request – when converting to non-1-dimensional shapes, could the shapes being made already be grouped? The issue I’m running into is that in order to use the data linking feature in Visio, you can’t apply the data graphic to a set of non-grouped shapes.

    As a workaround, I can open the Stencil, edit the Master Shape, select the shape in the windows and then “Group”. If this could be automated in the tool itself, that would be a huge help! I can also just create 1-dimensional shapes, but then connection lines won’t route around the edges of the shape.

    1. This is the VBA I used to extract all the individual shapes in a PPT to individual PNG files. Saves a lot of time versus saving each individual object.

      Sub PrintShapesToPng()
      Dim ap As Presentation: Set ap = ActivePresentation
      Dim sl As Slide

      Dim sh As Shape

      Dim shGroup As ShapeRange
      For Each sl In ap.Slides
      ActiveWindow.View.GotoSlide (sl.SlideIndex)
      Set shGroup = ActiveWindow.Selection.ShapeRange

      For Each sh In shGroup
      sh.Export ap.Path & “\Slide” & sl.SlideIndex & sh.Name & “.png”, _
      ppShapeFormatPNG, , , ppRelativeToSlide

      shGroup.Export ap.Path & “\Slide” & sl.SlideIndex & “.png”, _
      ppShapeFormatPNG, , , ppRelativeToSlide
      End Sub

  11. 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)

  12. 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?


  13. 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. 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

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

  14. 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?

  15. 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.


  16. 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()”

  17. 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

  18. 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?

  19. 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

  20. 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?


  21. 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

  22. 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


  23. 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

  24. 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 )

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s