Oh ok, that turned out to be easier than I expected. Many thanks. I'm glad I only have to support one platform, though.
Martin. -- Martin Saxon Product Technology Partners Ltd > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Henk Jonas > Sent: 13 January 2005 14:24 > To: Palm Developer Forum > Subject: Re: Screenshots (Tungsten T5) > > Martin Saxon wrote: > > > I would like my application to be able take screenshots of > itself and > > save them to file (gif or windows bitmap format). > > > > Anyone have any pointers as to how I might go about this in > a sensible > > way? A pointer to documentation of the Palm bitmap formats would > > probably be a good start. Library code that does the whole > job would > > be even better :) > > > > Martin. > > WinXYZ call to make a copy of the display. BmpXYZ call to > retrieving the parameters and the pointer to the picture > data, then create a windows bitmap (24 bit it's very easy) > and fill it. Check the pilrc source to see the (only slightly > iirc) differences between windows bitmap lauyout and palm > bitmap layout. > > Regards > Henk > > -- > -------------------------------------------------------------- > ----------- > Henk Jonas > Palm OS (r) certified developer > > [EMAIL PROTECTED] > www.metaviewsoft.de > -------------------------------------------------------------- > ----------- > > -- > For information on using the Palm Developer Forums, or to > unsubscribe, please see http://www.palmos.com/dev/support/forums/ > > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
