将图片进行编辑(放缩,涂鸦等),最后保存成指定格式、大小的图片。 先贴代码: 代码如下: Bitmap bmp = Bitmap.createBitmap(480, 800, Config.ARGB_8888); Canvas canvas = new Canvas(bmp); canvas.drawBitmap(this.bmp, matrix, paint); canvas.save(Canvas.ALL_SAVE_FLAG); canvas.restore(); File file = new File(“/sdcard/akai/”); if(!file.exists()) file
1