How to save image file in BMP format?
2 answers
Hey just give the name .bmp
Do it:
ByteArrayOutputStream bytes = new ByteArrayOutputStream();
_bitmapScaled.compress(Bitmap.CompressFormat.PNG, 40, bytes);
//you can create a new file name "test.BMP" in sdcard folder.
File f = new File(Environment.getExternalStorageDirectory()
+ File.separator + "**test.bmp**")
will sound like IM JUST FOOLING AROUND, but try it as soon as it is saved in bmp format. Smiles
-2
source to share