What do u mean by "clarity"? Color depth or screen resolution? There is an
example in each case:

(1) Color depth, e.g. setting 16-bit color depth:

    Bitmap bmp;
    UInt32 iDepth = 16;

    WinScreenMode( winScreenModeSet,
        NULL,
        NULL,
        &iDepth,
        NULL );
    WinPaintBitmap( bmp, x, y );
    BmpDelete( bmp );

(2) Resolution, e.g. Enable display of high-density bitmap
    -> encapsulate the Bitmap with BitmapV3

    Bitmap bmp;
    BitmapTypeV3 *bmpV3;

    // Get bitmap to "bmp"
    ...

    bmpV3 = BmpCreateBitmapV3( bmp,  kDensityDouble,
        BmpGetBits( bmp ),
        NULL );
    WinPaintBitmap( (BitmapPtr) bmpV3, x, y );
    BmpDelete( bmpV3 );

Of course, you can mix the two cases to give high color-depth and
high-density display.
For high-density display, the device need to support high density.

<[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???...
> Hi,
> I am new to PALM OS.  I am working on displaying image on palm.  I got
some
> jpeg libraries and it works fine.   I was able to display bmp images as
well
> (pbmp format).  But I am not satisfied with the clarity of the image. The
> image resolution is not that good.
> I am using winpaintbmp API for displaying the bitmap images.  I think
before
> displaying I should do some graphic settings or something.
> I would appreciate if any one help me to make the image clear.
>
> With regards,
> Dharani
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying
or
> distribution or forwarding of any or all of the contents in this message
is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
>



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

Reply via email to