Performance Is Slow When You Insert a Black and White Image File into a Visio Drawing (827244)
The information in this article applies to:
- Microsoft Office Visio Standard 2003
- Microsoft Office Visio Professional 2003
SYMPTOMSWhen you insert an image file that has the following characteristics into a Microsoft Office Visio 2003 drawing, rendering is very slow: - The image file is large, meaning that is has many dots per inch (dpi).
- The image file is black and white 1-bit.
- The image file is in .tif format, in .bmp format, or in some other compressible format.
Additionally, it takes a long time to zoom in, zoom out, or pan around the image. When you save the Visio drawing that contains the image file, it takes several minutes and the saved file size is several times larger than the size of the original image file that you inserted. If you try to compress the image in Visio, the image file size does not decrease, it increases. CAUSE This behavior occurs because of the way Microsoft GDI+ handles large black and white 1-bit images in Visio. When GDI+ reads the image that is inserted into the Visio drawing, the size of the image is increased. Because of the increased size of the image, it takes Visio much longer to display the image when zoom in, zoom out, or pan around the image. It also takes much longer to save the Visio drawing file that contains the image.
There is an increase in the drawing file size when you compress a large black and white 1-bit image. This behavior occurs because the image file is converted to a JPEG format (.jpg) during the compression process. The JPEG format requires that the 1-bit black and white pixels in the image be converted to a 24-bit color format, so any reduction in the drawing file size that you receive by compressing the black and white 1-bit image file is offset by the increase in the pixel size, from 1-bit to 24-bit. WORKAROUNDTo work around this behavior, follow these steps: - Start Visio 2003.
- Open your drawing.
- On the Insert menu, point to Picture, and then click From File.
- In the Look In box, locate and then click your large black and white 1-bit image file, and then click Open.
- Click inside the drawing, and then click Picture on the Format menu.
- In the Format Picture dialog box, on the Compression tab, under Compression options, click to select the Compress pictures check box.
- Use the slider to set Quality to 70%.
- Under Change resolution, click Web/Screen, and then click OK.
This compresses the image and reduces the output resolution of the image to 96 dpi.
Modification Type: | Minor | Last Reviewed: | 1/11/2006 |
---|
Keywords: | kbpending kbBug KB827244 kbAudITPRO |
---|
|