Does anyone have the details on this "patchy" suport of 16 gray mode?
I would like to know which versions of the OS (e.g. 3.1?) support 16
grays.

Thank You!
- Jeff

Stuart Nicholson wrote:
> 
> Of course the other issues are:
> 
> - What Palm device are you using?
> - What OS version is it using?
> - What bitmap depths do you want to display?
> 
> If you're on a modern Palm device (read DragonBall EZ) and running
> PalmOS 3.3 or better then you can safely rely on 'WinScreenMode' and
> 'WinDrawBitmap' to support all of the display modes the device is
> actually capable of. Earlier versions of the PalmOS have patchy support
> for some display modes (ie. 16 Gray on DragonBall EZ) and PalmOS prior
> to 3.0 only support B&W bitmaps in the OS (although of course the
> hardware can do 4 Gray).
> 
> Stuart Nicholson
> Programmer
> Firepad Inc.
> 
> -----Original Message-----
> From: DIAMOND JEFF [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 15, 2000 8:49 PM
> To: Palm Developer Forum
> Subject: Re: Bitmap Graphics
> 
> I haven't seen an official "how to", but all of this is fairly
> straightforward.
> This being said, there are still issues depending on how you interact
> with the bitmap on the Palm, other Palm GUIs present, and how and when
> you download pictures to the Palm from the desktop.
> 
> The Palm side is easy - there is a single command to set the graphics
> mode, set the palette, copy a bitmap (or get the screen memory and copy
> it yourself.)
> 
> Probably the most code is actually writing the windows program that
> loads a windows bitmap and saves it out as a PDB or PRC (if this isn't
> already in your custom libraries).  Just as the BMP format is public
> domain, so is the PRC (www.wotsit.org / PDB, PRC or
> www.palm.com/.../fileformats.pdf.  You just have to spend a few days
> writing each.
> 
> Just remember to use "portable I/O", i.e., write out each member of the
> structure separately (no structure packing issues) and endian swap it.
> 
> On the Palm side, just make sure to set the palette when you display it
> or it will look pretty bad.  I also redither all my images to the IIIc's
> 4096 color (12-bit) palette on the desktop.
> 
> Let me know if you have specific questions, but I don't at this time
> have a ready made piece of code I can offer.
> 
> Good luck!
> - Jeff
> 
> "Bradly J. Barton" wrote:
> >
> > Ok, I know this is an issue that has been hashed out again and again
> here on
> > the forum (perhaps it should be in that FAQ).. but the Knowledge Base
> only
> > has information about things like the signature application and
> searching
> > for graphics or bitmap on eGroups returns more hits than can be
> useful... so
> > I have to ask a repetitive question.. sorry.
> >
> > Does someone have a comprehensive "how to" for taking a Windows
> bitmap,
> > converting it to a PDB (or similar), and displaying it on the Palm..
> taking
> > bit depth into account? I have a client who really wants to add a
> graphic
> > preview to an application we created for them and, no offense to the
> FirePad
> > guys who have been very helpful on how to use their application to do
> this,
> > are wary of using a third party application. (Big time "not invented
> here"
> > syndrome.)
> >
> > TIA
> >
> > ----------
> > Bradly J. Barton - [EMAIL PROTECTED]
> > Jenies Technologies Incorporated
> > (972) 602-1835
> > http://www.JTI.net
> > http://PalmInHand.com
> >
> > --
> > For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> 
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see 
>http://www.palmos.com/dev/tech/support/forums/

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

Reply via email to