I understand, I have to write my own code to convert to a 16-bit BMP. Sounds
easy (thanks for the formula). Now how to implent?

-Create resource in PilRC as a: BPP 16 DENSITY 2 (even though file  is
24-bit format)
-Extract bitmap's data usign BmpGetBits()
-What now, do I create a new BMP resource dynamically and store it as a
record?

Thanks!

Eduardo

----- Original Message ----- 
From: "Aaron Ardiri" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 2004 9:14 AM
Subject: Re: Is it possible to get around the 64K resource limitation?


> > I'll experiment with stitching together several BMPs. I'm also looking
for a
> > 16-bit image editor. I use several graphic editors and none of them
provide
> > 16-bit conversion from 24-bit. Any sugestions?
>
> 24bit -> 16bit means convertion
>
>   8:8:8   typically to  5:6:5
>
> so,
>
>   r_16 = r >> 3
>   g_16 = g >> 2
>   b_16 = b >> 3
>
> final 16bit = ((r_16 << 11) | (g_16 << 5) | b_16)
>
> comprende?
>
> ---
> Aaron Ardiri
> PalmOS Certified Developer
> [EMAIL PROTECTED]
> http://www.mobilewizardry.com/members/aaron_ardiri.php
>
>
> -- 
> 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/

Reply via email to