Dear Forum,

Does the Tungsten have problems drawing grayscale 
bitmaps?

Repetitive calls to WinDrawBitmap(pBmp, 0, 0) and 
WinPaintBitmap(pBmp, 0, 0) crashes the OS when the 
window is redrawn as the user the scrolls up and down 
a large 4-bit grayscale bitmap.

1) The bitmap that pBmp points to is created on the fly. 
   It is an 150 x 150 region of a larger bitmap stored in 
   a temporary file (a decompressed JPEG).

2) The crash occurs only when scrolling vertically down
   a 4-bit and 2-bit grayscale bitmaps on the Tungsten.
   - No problems with 16-bit color, 256 color, and monochrome
     on the Tungsten.
   - No problems when scrolling horizontally. Scrolling
     horizontally across the 4-bit and 2-bit grayscale 
     (as well as all other) bitmaps on a Tungsten works fine.
   - No problems on other PalmOS versions. Scrolling vertically 
     and horizontally around 1,2,4,8,16 bit bitmaps works fine
     on OS 3.1, 3.5, and 4.1

Any ideas?                 
    
  

 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to