Hi,
    I have a similar thing to do. I want to draw a bitmap which would reside
on the external Card(VFS), on any Form.
    Could some body suggest an efficient methodology for this??

--D


----- Original Message ----- 
From: "Michal Seliga" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[email protected]>
Sent: Wednesday, August 31, 2005 2:25 PM
Subject: Re: Drawing image from file


> i guess that it is the same as on pc or everywhere else. you must convert
image
> to native bitmap type using any library (in your case probably libpng) and
draw
> it. on same devices there is already library to decode pngs, but you can't
count
> with it. and also i don't know where to download any png decoding library
for
> palm, so you must look for it yourself :-(
>
> [EMAIL PROTECTED] wrote:
> > Hi All,
> >
> > I am a newbie to Palm development. I just want to know .. How to draw an
> > Image on the screen from a file?
> >
> > Any help or sample app? In the documentation it is written that we can
draw
> > the PNG images by adding it to resource as
> >
> > <RAW_RESOURCE RESOURCE_ID="1000" COMMENT="PNG file">
> > <RES_TYPE>'pngf'</RES_TYPE>
> > <DATA_FILE>"c:/MyPictures/Picture1.png"</DATA_FILE> </RAW_RESOURCE>
> >
> >
> > But what if I want to specify the image at run time and draw it?
> >
> > Thanks in Advance.
> >
> > .. KiraN Puranik
> >
> >
>
> -- 
> For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/
>


"SASKEN RATED THE BEST EMPLOYER IN THE COUNTRY by the BUSINESS TODAY Mercer 
Survey 2004"


                           SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally Privileged 
information. In case you are not the original intended Recipient of the 
message, you must not, directly or indirectly, use, Disclose, distribute, 
print, or copy any part of this message and you are requested to delete it and 
inform the sender. Any views expressed in this message are those of the 
individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken 
Communication Technologies Limited ("Sasken") unless sent with that express 
intent and with due authority of Sasken. Sasken has taken enough precautions to 
prevent the spread of viruses. However the company accepts no liability for any 
damage caused by any virus transmitted by this email

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

Reply via email to