When inserting a raster PNG image into Microsoft Visio 2007, it tries to make it smoother by interpolating pixel colors. It seems like Visio interpolates border pixels with white as if image was surrounded by white border. Since the image was created to have background that matches the background on the page, it is important that border pixel color is unchanged, which is not the case. In print this border is clearly visible.

Compare image in Visio (background is created by the filled rectangle):

Inserted image in Visio

with actual image in Paint:

Actual image in Paint

As you can see lighter border is not present in the original image. How to get rid of it?


It turned out that using "Publish to PDF" function fixed the problem. Final PDF didn't have the border anymore.

| improve this answer | |

I can confirm that Saving/Publishing to PDF creates a PDF that does not show the border.

However, an alternative way is to use the cropping tool in Visio. In Visio 2010, select the image and it's on the Picture Tools Format ribbon.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.