I know that I should use the compress method for saving a bitmap file.
FileOutputStream fos = new FileOutputStream(imagefile);
bitmap.compress(Bitmap.CompressFormat.PNG, 100, fos);
fos.flush();
fos.close();
but I want to save my image as bmp format while "Bitmap.CompressFormat" only supports PNG and JPEG. How can I save my image file as BMP format?
Thanks,