android Bitmap保存到文件(PNG)
来源:互联网 发布:手机淘宝网2016 编辑:程序博客网 时间:2024/05/22 04:58
private void saveMyBitmap(String bitName,Bitmap mBitmap){ File f = new File(DB_PATH + bitName + ".png"); try { f.createNewFile(); } catch (IOException e) { } FileOutputStream fOut = null; try { fOut = new FileOutputStream(f); } catch (FileNotFoundException e) { e.printStackTrace(); } mBitmap.compress(Bitmap.CompressFormat.PNG, 100, fOut); try { fOut.flush(); } catch (IOException e) { e.printStackTrace(); } try { fOut.close(); } catch (IOException e) { e.printStackTrace(); } }
0 0
- android Bitmap保存到文件(PNG)
- Android保存Bitmap到文件
- android 保存bitmap到指定文件
- Android把Bitmap保存为PNG图像文件
- Bitmap实现圆,保存Bitmap到文件
- Android中把Bitmap图片保存到文件中
- Android Bitmap保存到SQLite
- Android Bitmap保存到SQLite
- Android Bitmap保存到SQLite
- Android 保存bitmap到相册
- android保存bitmap到sdcard
- Android保存Bitmap到本地
- android 保存bitmap到本地
- android 保存bitmap到本地
- android bitmap文件修改保存
- 使用GDI+保存BITMAP到文件
- android 保存bitmap到SD卡
- android 保存bitmap到SD卡
- VIEW当中自定义属性的使用
- SSH学习三 SESSION
- Animation基础
- 你所谓的稳定,不过是在浪费生命
- [数据结构] 字典树
- android Bitmap保存到文件(PNG)
- Vim的Python编辑器详细配置过程 (Based on Ubuntu 12.04 LTS)
- 模式匹配应用
- hbase 批量插入api
- github使用说明
- UNITY 5.1.2发行说明 中文版
- hdu 2087 剪花布条
- UVA 11044 Searching for Nessy
- 优先队列 用实验说明问题