Most of the examples I've seen on the Internet have something similar to:
FileOutputStream out = new FileOutputStream(someFilename); someBitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
Does it take extra work to close the stream and make sure it fits correctly on disk?
android bitmap
cottonBallPaws
source share