Make a blog here, dedicated to some basic operation methods of Bitmap
Zoom
public static Bitmap ScaleBitmap(Bitmap bit,float sx,float sy){
Matrix matrix=new Matrix();
matrix.setScale(sx,sy);
Bitmap newBmp =Bitmap.createBitmap(bit, 0,0,bit.getWidth(),bit.getHeight(),matrix,true);
return newBmp;
}