Java tutorial
//package com.java2s; import android.graphics.Bitmap; public class Main { public static Bitmap zoomBitmap(Bitmap bitmap, int width, int height) { return Bitmap.createScaledBitmap(bitmap, width, height, false); } }