SyntaxFix
Write A Post
Hire A Developer
Questions
Write below code
ImageView yourImageView = (ImageView) findViewById(R.id.yourImageView); Bitmap bitmap = ((BitmapDrawable)yourImageView.getDrawable()).getBitmap();