I think this link will help you http://www.anddev.org/using_camerapreview_to_save_a_picture_on_disk-t226.html
you need to put the image data in a bitmap object and then compress it into the format you like using the bitmap.compress function. hope this help On Mar 12, 4:23 am, Gibson <[EMAIL PROTECTED]> wrote: > Hi all, > > If i capture a Bitmap image via Camera, how to store it to a png > file. If my understanding is right, i can only get pixel data via > Bitmap image. But is there any library to convert it to a png file > which i can store it somewhere on Android? > > Anyone can help me with this please? > > Thanks very much1 > > BR > Gibson --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

