[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-27 Thread Romain Guy
BMP is not supported on Android. And why is it strange? PNG and JPG are widely used formats across platforms. On Sat, Jun 27, 2009 at 7:32 AM, 楊健 wrote: > > Hey everybody ! > How can i save a Bitmap instance to a *.bmp file?Anyone knows? > Is it strange that we can only save a bitmap instance to

[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-27 Thread Mark Murphy
楊健 wrote: > How can i save a Bitmap instance to a *.bmp file?Anyone knows? Option #1: Don't do it. So, for example, if this is a question of uploading data to some server, let the server do the conversion from PNG. Option #2: See if there is a way, through the implementation of Bitmap in the op

[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-27 Thread 楊健
Thank you very much! I think i have to convert the file by myself! On 6月27日, 午後11:52, Mark Murphy wrote: > 楊健 wrote: > >  How can i save a Bitmap instance to a *.bmp file?Anyone knows? > > Option #1: Don't do it. So, for example, if this is a question of > uploading data to some server, let the

[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-27 Thread 楊健
But the images we use in application are instances of Bitmap : ( On 6月28日, 午前2:43, Romain Guy wrote: > BMP is not supported on Android. And why is it strange? PNG and JPG > are widely used formats across platforms. > > On Sat, Jun 27, 2009 at 7:32 AM, 楊健 wrote: > > > Hey everybody ! > > How can

[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-27 Thread Romain Guy
JPG and PNG are also bitmaps. 2009/6/27 楊健 : > > But the images we use in application are instances of Bitmap : ( > > On 6月28日, 午前2:43, Romain Guy wrote: >> BMP is not supported on Android. And why is it strange? PNG and JPG >> are widely used formats across platforms. >> >> On Sat, Jun 27, 2009

[android-developers] Re: How to save a Bitmap instance to a *.bmp file.

2009-06-28 Thread Christine
On Jun 28, 7:02 am, Romain Guy wrote: > JPG and PNG are also bitmaps. ... which means that you can use bitmap.compress to put a Bitmap instance into a jpg or png file. Like you use BitmapFactory.decodeFile to create a Bitmap object from a jpg or png file. > > 2009/6/27 楊健 : > > > > > > > But t