Главная страница | назад





Article #17418: Why am I having trouble displaying and/or printing a very large bitmap?

 Question and Answer Database

FAQ2418D.txt   Handling bitmap display.
Category   :Windows API
Platform    :All
Product    :All 32 bit  

Question:
I created a very large bitmap image that refuses to display or
print on some systems. What can I do?


Answer:
There are a number of factors that can affect the size of the
largest displayable bitmap. Some versions of Windows can only work
with a Bitmap that is no larger than 1.75 megabytes in size. The
display driver can also play an important role, even during printing,
as the printer driver may rely on the display driver to do some of the
work. Some display drivers can only work with a bitmap that is no
larger than the screen resolution, and may have trouble with bitmaps
that use a different color resolution. The safest method to use when
working with large bitmaps, is to create smaller bitmaps from the
larger one (in code), and display the larger bitmap in sections called
"bands".

7/16/98 4:31:28 PM
 

Last Modified: 21-MAR-00