"Kunal" == Kunal Taneja <[EMAIL PROTECTED]> writes:

Kunal> i want to create a single database with the [8 bpp] option so
Kunal> that the m505 device is capable of displaying the color images.
Kunal> But i want the database to be able to render images on the
Kunal> devices which have only [4bpp] capability. currently if i view
Kunal> a database created with an [8bpp] option

At first it is only possible to include _one_ version (color depth) of
an bitmap. It is not possible to include alternatives of an Image. It
is possible by hacking the parser code a little bit i guess, but since
the maximum size of an Image Object are 60KB (an Image with more than
one color depth are still one bitmap object) you will get problems
with the maximum size if you try to put more version of an larger
image together.

But if you are running OS3.5 or above the palm OS will reduce the
colors of Bitmaps if the Bitmap are a higher Color Depth than the
current screen Depth, but this use a simple nearest color matching (i
guess!) and its look ugly sometimes.


OK, this do not help you but why do you wan't do this, you waste
memory by creating such Databases. If you wan't make your Databases
public available i suggest you to provide an 1bpp version (work on
_all_ devices) and maybe an Color (bpp 8) version. And all be happy.

OR if you still really wan't only one DB. You could put the "select
you color depth" links on the first page and put the different color
versions on the subpages.

cu,
 Dirk
-- 
Permanent URLs to the latest Version (1.1.13) of the Plucker Windows installer
 - For the Webpage: http://www.dirk-heiser.de/plucker
 - Direct Download: http://www.dirk-heiser.de/plucker/plucker.exe [2.08MB]

Reply via email to