【android】bitmap转换与处理相关工具类,Bitmap与DrawAble与byte[]与InputStream之间的转换
1.将view转为bitmap
public static Bitmap getBitmapFromView(View view)
{
// Define a bitmap with the same size as the view
Bitmap returnedBitmap = Bitmap.createBitmap(view.getWidth(), view.ge
转载
2015-03-13 17:33:18 ·
1475 阅读 ·
0 评论