-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android系统色彩模式RGB_565的问题 #96
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
记得作者之前章节写过,Android的默认色彩模式是RGB_565.
我在后面章节在做测试时发现一个问题:
我的bitmap的大小是byte[394383], 图片分辨率是314 * 314。计算一下,394383 / (314 * 314) = 4。也就是说一个像素点占位4个字节。(RGB_565我记得是1个像素占位2个字节,而ARGB_8888是1个像素4个字节)
问下,是不是Android的默认色彩模式不同的手机系统不一样?还是只是图片色彩模式不一样?
The text was updated successfully, but these errors were encountered: