Android:Bitmap.Config
来源:互联网 发布:淘宝网课程 编辑:程序博客网 时间:2024/06/10 07:51
Bitmap.Config ALPHA_8
Bitmap.Config ARGB_4444
Bitmap.Config ARGB_8888
Bitmap.Config RGB_565
A R G B
透明度 红色 绿色 蓝色
Bitmap.Config ARGB_4444 16 每个像素 占四位
Bitmap.Config ARGB_8888 32 每个像素 占八位
Bitmap.Config RGB_565 16 R占5位 G占6位 B占5位 没有透明度(A)
一般情况下我们都是用argb888 但是无可厚非 它也相对的很占内存
因为一个像素32位 8位一个字节 如果是800*480的图片的话自己算 估计有1M多了
Bitmap.Config ARGB_4444
Bitmap.Config ARGB_8888
Bitmap.Config RGB_565
A R G B
透明度 红色 绿色 蓝色
Bitmap.Config ARGB_4444 16 每个像素 占四位
Bitmap.Config ARGB_8888 32 每个像素 占八位
Bitmap.Config RGB_565 16 R占5位 G占6位 B占5位 没有透明度(A)
一般情况下我们都是用argb888 但是无可厚非 它也相对的很占内存
因为一个像素32位 8位一个字节 如果是800*480的图片的话自己算 估计有1M多了
0 0
- android.graphics.Bitmap.Config
- Android:Bitmap.Config
- android bitmap config
- Android bitmap Config
- android Bitmap.Config
- Android--------- Bitmap.Config ARGB_8888
- Android中的Bitmap.Config ARGB_8888
- Bitmap android.graphics.Bitmap.createBitmap(int width, int height, Config config) Config参数的说明
- Bitmap android.graphics.Bitmap.createBitmap(int width, int height, Config config) Config参数的说明
- android——Bitmap.Config ARGB_8888
- android——Bitmap.Config ARGB_8888
- android 图片 色彩 Bitmap.Config RGB_565 ARGB_8888
- android——Bitmap.Config ARGB_8888
- Bitmap.Config
- Bitmap.Config
- Bitmap.Config
- Android 管理Bitmap内存 及 Bitmap.Config BitmapFactory.Options 说明
- Android图片压缩参数Bitmap.Config.RGB_565,Bitmap.Config.ARGB_8888等
- HDU2006 求奇数的乘积
- Ubuntu上BBBlack开发板 的nfs文件系统配置问题
- 9.29 一个方法中有两个Block并且同时操作了一个对象,该对象只会被保留一次
- UVA748
- CSDN博客第一天
- Android:Bitmap.Config
- HDU2007 平方和与立方和
- 9.28 block基础
- spark源码研究---作业提交
- 10.09 GCD Grand(宏大) Central(中央的) Dispatch(调度)
- 字符串中找出重复出现N次的字符
- 分布式消息系统研究报告之Kafka
- 客户机加入域 及服务器文件共享
- Linux i2c驱动