Bitmap.Config
来源:互联网 发布:js 数组 removeall 编辑:程序博客网 时间:2024/06/04 17:53
android——Bitmap.Config ARGB_8888
Bitmap.Config有以下几个常量
public static final Bitmap.Config ALPHA_8
public static final Bitmap.Config ARGB_4444
public static final Bitmap.Config ARGB_8888
public static final Bitmap.Config RGB_565
这些是色彩的存储方法:我们知道 ARGB指的是一种 色彩模式,里面A代表Alpha,R表示red,G表示green,B表示blue.
其实所有的可见色都是右红绿蓝组成的,所以红绿蓝又称为三原色,每个原色都存储着所表示颜色的信息值
ALPHA_8就是Alpha由8位组成
ARGB_4444就是由4个4位组成即16位
ARGB_8888就是由4个8位组成即32位
RGB_565就是R为5位,G为6位,B为5位共16位
由此可见
- ALPHA_8——代表8位Alpha位图
- ARGB_4444——代表16位ARGB位图
- ARGB_8888——代表32位ARGB位图
- RGB_565——代表8位RGB位图
位图位数越高代表其可以存储的颜色信息越多,当然图像也就越逼真
1 0
- Bitmap.Config
- Bitmap.Config
- Bitmap.Config
- Bitmap.Config参数
- Bitmap.Config ARGB_8888
- android.graphics.Bitmap.Config
- Bitmap.Config参数
- Bitmap.Config RGB_565 ARGB_8888
- Android:Bitmap.Config
- android bitmap config
- Android bitmap Config
- Bitmap.Config常量
- android Bitmap.Config
- Android--------- Bitmap.Config ARGB_8888
- Bitmap.Config ARGB_8888
- Bitmap中的config
- Bitmap.Config 详解
- 讨论Bitmap.config参数
- 【Linux】多路复用之—select
- Spring之BeanFactory与ApplicationConText区别
- HTML+CSS基础(二):认识html标签
- 延云YDB从1.11版本起,正式无缝支持帆软等支持hive接口的报表工具
- Hibernate初探【2】
- Bitmap.Config
- 位运算------二进制中1的个数
- Uva 455
- Tomcat的server.xml配置文件详解
- 不管你以后写不写JS,都应该学会这种思考方式
- 数据库设计的特点及方法
- JavaSE入门学习43:文件传输基础之I/O流(二)
- Leetcode #14 in cpp
- CoordinatorLayout、AppBarLayout、TableLayout、CollapsingToolbarLayout、NestedScrollView的使用