RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.81k stars 405 forks source link

How to get bitmap image after takepicture ? #409

Open therohim opened 3 years ago

flsand commented 1 year ago

PhotoResult photoResult = fotoapparat.takePicture(); photoResult .toBitmap(scaled(0.25f)) .whenDone(bitmapPhoto -> { if (bitmapPhoto == null) { Log.e(TAG, "Couldn't capture photo. Bitmap is null."); } });