Aaron, Thanks for responding.
>well, are you converting the bitmap bits to a valid .bmp or other >image >format? if not, how are you supposed to know how to open the bitmap >on the desktop? I'm looking at the palm resource database using ptools. Additionally, my conduit opens the palm resource db and sends the resource to a website. I use the convert program from Imagemagick to convert the palm bitmap into pngs. >bitmapBits = BmpRsrcGetBits(bitmapP) >gives you raw access to the bits - being the format it is encoded >in (1,2,4,8 or >16bit) I'm setting the depth to 1: UInt32 depth = 1; WinScreenMode(winScreenModeSet, NULL, NULL, &depth, NULL); > >DmWrite(newResourceP, 0, bitmapBits, MemPtrSize(bitmapBits)) >avoid MemPtrSize() - why not use BmpRsrcGetBitsSize() - i am sure >there is an API to do exactly that. I've changed MemPtrSize to BmpRsrcGetTotalSize(bitmapP) I'm still, however, getting the lines through the bitmap. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
