android 图片压缩
2015-09-23 19:21
471 查看
图片压缩 BitmapFactory.Options options = new BitmapFactory.Options(); options.inJustDecodeBounds = false; options.inPurgeable = true; options.inInputShareable = true; // Do not compress options.inSampleSize = 1; options.inPreferredConfig = Config.ARGB_8888; moveBitmap = BitmapFactory.decodeResource(getResources(), R.drawable.rgb_picker, options);
相关文章推荐
- Android工具栏--ActionBar
- android 图片压缩 生成缩略图方法
- Android SDK 更新代理
- Android图片压缩(质量压缩和尺寸压缩)
- Android压缩图片到100K以下并保持不失真的高效方法
- android开发大牛的网址
- android 换行符(\n) 在TextView中显示不正常的问题
- android图片压缩的3种方法实例
- Android中使用Handler造成内存泄露
- android之ScrollView里嵌套ListView(都可滚动)
- android traceview的使用
- Android LayoutInflater用法
- android 导入so文件,编译报错
- Android AsyncTask完全解析,带你从源码的角度彻底理解
- Android内存管理
- Android:资源 id 及资源 id 的动态获取
- android 蓝牙通信(二)
- 基于XMPP android IM 通信资料
- android studio编译项目,9 patch图片报错Crunching Cruncher
- 自定义View----Android九宫格手势密码解锁