I think this question has been asked in the past but I haven't found an answer to suit my needs. If this has been answered please point me to the answer (maybe a link in mail-archive.com or something).

My app sends a compressed xml file over an http connection (I simulate the http multipart/form-data request). But now I need to capture some images and send them along with my compressed xml file (each one as a part of the total form data sent). I've been able to capture an image from the camera and store it in a BitmapType structure (I'm using the sample program in the palmone sdk to access treo's and zire's camera). But I don't know how to store it in a way I can send it later and it will be understood by the webserver (jpg, gif, png, bmp or something lije that). If I create a resource database, will the stream I'll get back when I read it be a valid bmp file? or do I need to add some header? is ther any library out there to simplify this? (store bitmaps and get them back in a common image format) The images don't need to be compressed as I can compress them using the zlib compression library I'm using already to compress the xml file.

I hope someone can point me in the right direction.

Thanks in advance
Miguel

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

Reply via email to