图片文件和Bitmap之间的转换
摘要:
图片文件转为Bitmap对象String filePath="c:/01.jpg"; Bitmap bitmap=BitmapFactory.decodeFile(filePath); 如果图片过大,可能导致Bitmap对象装不下图片解决办法:String filePath="c:/01.jpg"; 阅读全文
posted @ 2017-05-04 15:40 乐学习 阅读(27379) 评论(0) 推荐(1) 编辑