Hello all,
I've used "Windows Enhanced Metafiles" as background images for my shapes for a while now. While building the background image, the image is ungrouped and there are many separate visio objects, each with their own shapesheet to have more control over the image. As I am about to add the background image to the actual shape, I will copy all the component objects and then paste them back using "Paste - Special - Picture (Enhanced Metafile). As a result you will have a single object with just one shapesheet. This will reduce the size of the object and number of shapesheets associated with the image, making the shape much faster to use and pull from stencil.
There has been a slight hiccup with this solution. When the image is pasted back, the dimensions of the shape increase as an alignment box is added around the image. Furthermore the actual image is off centered relative to the alignment box. As a result you can not use formulas relative to shape dimensions to position the shape, the off centered nature will position the image in slightly wrong position and you will have to position the image manually.
Few days ago I was browsing through the forum and found a topic where someone was using "crop" tool. I had never used it before and decided to give it a try to see if the problem with metafile pictures and alignment box could be solved by using "crop" tool.
As it turns out, it worked. Not a perfect solution, but good enough for me.
Detailed steps can be found from my blog:
https://dontpokethepolarbear.wordpress.com/2020/02/20/visio-by-dptpb-reducing-size-of-picture-alignment-box
I tried to copy the blog post here, but it didn't work out, probably because of the images used. I hope you don't mind links pointing outside of the forum...