Convert Picture from Enhanced Metafile to Bitmap

Started by scotth1963, September 15, 2017, 11:51:04 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

scotth1963

Is there a way to convert a Picture from enhanced metafile (picture.type = 4) to Bitmap format (picture.type = 1)?

Paul Herber

Not within Visio. Use a graphics application to convert the EMF file to BMP then import that into Visio.
But why?
Electronic and Electrical engineering, business and software stencils for Visio -

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

scotth1963

I want to use a stencil icon in the RibbonXML. This way you don't need to carry around bmp files but they can be generated on the fly. I posted this as I was learning more about the differences between master.shape.picture and return from loadPicture().

I actually resolved this already you can look at the code here http://visguy.com/vgforum/index.php?topic=8051.0

But thank you for the response!