private Bitmap getBitmapFromImgView(ImageView mImageView) {
mImageView.setDrawingCacheEnabled(true);
Bitmap bitmap = Bitmap.createBitmap(mImageView.getDrawingCache());
mImageView.setDrawingCacheEnabled(false);
return bitmap;
}
从imgview截取bitmap
最新推荐文章于 2024-08-12 04:02:36 发布