At 03:13 PM 2/6/2005, you wrote:
From: "Trevor Majula" <[EMAIL PROTECTED]>
> Greetings! I have been unable to restore my database stored image
> ... the bitmaped image has these black streaks or lines at the bottom.
> I can see the top part of my image but not the bottom part.
>
What size is the image?  Is it possible that you're trying to save
more than 64K and that the black lines at the bottom above the
missing part are where the bitmap has been only partially saved?
I wouldn't have thought that the image would be more than 64K,
unless it's 16-bit colour or you're working in high resolution
(320x320) but it's worth checking.

There is also a bug I noticed in Palm OS 5.2 -- trying to draw a 1-bit bitmap to an off-screen window gives you corrupted graphics. This is fixed in OS 5.4, but most OS 5 devices use the older version. In my updated Signature++ code, I used MemMove to populate a bitmap attached to an off-screen window, then used WinCopyRectangle to copy from that buffer to the screen. Hopefully, the updated code will be posted in the PalmSource KB soon.


-- Ben Combee, Senior Software Engineer, palmOne, Inc.
   "Combee on Palm OS" weblog: http://palmos.combee.net/
   Developer Forum Archives:   http://news.palmos.com/read/all_forums/


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

Reply via email to