private Bitmap getBMP(String file){
try {
FileInputStream is = new FileInputStream(Environment.getExternalStorageDirectory() + "/" + file);
Bitmap bmp = BitmapFactory.decodeStream(is);
return bmp;
} catch (Exception e) {
}
return null;
}
本地图片转bmp bitmap
最新推荐文章于 2024-07-14 11:00:32 发布