Dude thanks a lot!  That's exactly how to do it.  I
got my images to come out looking nice and sharp.


--- Henk Jonas <[EMAIL PROTECTED]> wrote:

> Anning Chen wrote:
> 
> > I have noticed that using jpeglib to decode an
> image results in a low resolution tbmp... is there a
> way to either decode the image in high resolution
> using the JpegLibDecodeOptions variable or display
> the resulting tbmp in high resolution with
> BmpCreateBitmapV3?
> > 
> 
> Yes, as far as I remember, you have to convert the
> bitmap to V3 with the 
> highdensity flag:
> 
> if ((screenAttr != kDensityLow) &&
> bHighDensityFeature)
> {
> //the screen is double density
> bmpJpegBackground3 =
> BmpCreateBitmapV3(bmpJpegBackground, screenAttr, 
> BmpGetBits(bmpJpegBackground), NULL);
> }
> 
> Regards
> Henk
> 
> -- 
>
-------------------------------------------------------------------------
>    Henk Jonas                                       
>     [EMAIL PROTECTED]
>    Palm OS ® certified developer
> 
>    Please contact me, if you need an off-site
> contract worker.
>
-------------------------------------------------------------------------
> 
> -- 
> For information on using the PalmSource Developer
> Forums, or to unsubscribe, please see
> http://www.palmos.com/dev/support/forums/
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to