Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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