Android 图像处理(类型转换比例缩放倒影圆角)的小例子
1.放大缩小图片 代码如下:public static Bitmap zoomBitmap(Bitmap bitmap,int w,int h){ int width = bitmap.getWidth(); int height = bitmap.getHeight(); Matrix matrix = new Matrix(); float scaleWidht = ((float)w / width); float scaleHeight = ((float)h / heigh
下载地址
用户评论