I have a bitmap taken of a Base64 String from my remote database, (encodedImage is the string representing the image with Base64):
encodedImage
profileImage
try this this code :
BitmapDrawable drawable = (BitmapDrawable) imgview.getDrawable(); Bitmap bmp = drawable.getBitmap(); Bitmap b = Bitmap.createScaledBitmap(bmp, 120, 120, false);
I hope it's useful.