Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .