ImageView image = R.findViewById(R.id.imageView);
image.setImageBitmap(someBitmap);
How do I get a bitmap from the image view when given like this?
android imageview android-bitmap
Bitmap bitmap = ((BitmapDrawable)image.getDrawable()).getBitmap();
You can do it in this way.
© 2024 OneMinuteCode. All rights reserved.