After lots of googling, testing and… it’s all yours:
Bitmap bitmap = ((BitmapDrawable)image.getDrawable()).getBitmap(); int width = bmp.getWidth(); int height = bmp.getHeight(); long size = getSizeInBytes(bitmap);
After lots of googling, testing and… it’s all yours:
Bitmap bitmap = ((BitmapDrawable)image.getDrawable()).getBitmap(); int width = bmp.getWidth(); int height = bmp.getHeight(); long size = getSizeInBytes(bitmap);