摘要:
public class ImageUtil { //缩放图片 public static Bitmap zoomBitmap(Bitmap bitmap, int w, int h) { int width = bitmap.getWidth(); int height = bitmap.getHeight(); Matrix matrix = new Matrix(); float scaleWidth = ((float)w/width); float scaleHeight = ((float)h/height); matrix.postScale(scaleHeight... 阅读全文
posted @ 2011-10-17 20:44
vizhen
阅读(500)
评论(0)
推荐(0)