Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Fonte Link

Você pode redimensionar o Bitmap:

Bitmap yourBitmap;
Bitmap resized = Bitmap.createScaledBitmap(yourBitmap, newWidth, newHeight, true);
// ou:
resized = Bitmap.createScaledBitmap(yourBitmap,(int)(yourBitmap.getWidth()*0.3), (int)(yourBitmap.getHeight()*0.3), true);

Fonte: http://stackoverflow.com/a/25157279/194717https://stackoverflow.com/a/25157279/194717

Você pode redimensionar o Bitmap:

Bitmap yourBitmap;
Bitmap resized = Bitmap.createScaledBitmap(yourBitmap, newWidth, newHeight, true);
// ou:
resized = Bitmap.createScaledBitmap(yourBitmap,(int)(yourBitmap.getWidth()*0.3), (int)(yourBitmap.getHeight()*0.3), true);

Fonte: http://stackoverflow.com/a/25157279/194717

Você pode redimensionar o Bitmap:

Bitmap yourBitmap;
Bitmap resized = Bitmap.createScaledBitmap(yourBitmap, newWidth, newHeight, true);
// ou:
resized = Bitmap.createScaledBitmap(yourBitmap,(int)(yourBitmap.getWidth()*0.3), (int)(yourBitmap.getHeight()*0.3), true);

Fonte: https://stackoverflow.com/a/25157279/194717

Fonte Link
Tony
  • 2,5mil
  • 14
  • 17

Você pode redimensionar o Bitmap:

Bitmap yourBitmap;
Bitmap resized = Bitmap.createScaledBitmap(yourBitmap, newWidth, newHeight, true);
// ou:
resized = Bitmap.createScaledBitmap(yourBitmap,(int)(yourBitmap.getWidth()*0.3), (int)(yourBitmap.getHeight()*0.3), true);

Fonte: http://stackoverflow.com/a/25157279/194717