I took a picture from camera then i return the result in a bitmap. I need to display the photo in Grayscale.
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
if (resultCode == RESULT_OK) {
Bitmap bitmap = (Bitmap)data.getExtras().get("data");
mImageView.setImageBitmap(bitmap);
}
}