thks for all.
i'm developping a web browser (i'am actually working on drawing images).
What is the best way to do that ? convert image colors to the default
palette colors or use the image palette and switch the system palette to it
?

ps : really sorry for my bad english.....
"David Fedor" <[EMAIL PROTECTED]> wrote in message
news:42744@palm-dev-forum...
>
> >I would like to know how many colors i can display on the Palm IIIc
> >(simultaneous) ? and the Palm m505 ?
>
> On a Palm IIIc device (or other 8-bit devices), you've got an 8-bit
> palette, so you can show 256 different colors at the same time.  By
> changing the selection of colors in the palette, you have access to a
> larger number of colors than just 256... but not at the same time.
>
> On a Palm m505 device (or other 16-bit devices), you could theoretically
> show 65536 different colors, but there aren't that many pixels on the
> screen; there's 160x160=25600 pixels so the answer to your "maximum colors
> showing at once" question is constrained by the size of the screen.  But a
> 320x320 screen such as the new Sony Clie could show all 65536 at the same
> time, though I'm no expert on that device and so don't hold me to that.
>
> Sometimes there are other constraints imposed by the screen hardware, like
> some screens can only show 8 different intensities of blue, 8 of red, and
4
> of green.  That would still work out to being 256 different colors, though
> you couldn't have them all be shades of blue.  This isn't Palm-specific at
> all; this is just how screens work on computers.
>
> -David Fedor
> Palm Developer Support
>
>



-- 
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