3 回答
TA贡献2016条经验 获得超9个赞
使用decodeStream(is, outPadding, opts)带着
BitmapFactory.Options opts=new BitmapFactory.Options();
opts.inDither=false; //Disable Dithering mode
opts.inPurgeable=true; //Tell to gc that whether it needs free memory, the Bitmap can be cleared
opts.inInputShareable=true; //Which kind of reference will be used to recover the Bitmap data after being clear, when it will be used in the future
opts.inTempStorage=new byte[32 * 1024];
TA贡献1796条经验 获得超7个赞
- 3 回答
- 0 关注
- 538 浏览
添加回答
举报