大体上看了一下,该书共分为19章,此文章仅为自己作为记录所用,所以书中很多重要知识点可能没有收录,建议直接读书,拿此参考即可,因为是英文书籍,可能很多方面理解不透彻,文中可能会有不少错误,欢迎指点探讨。
Android Digital Imaging: Formats, Concepts and Optimization
第一节:Android’s Digital Image Formats: Lossless Versus Lossy
主要讲述Android 图片格式,有无损和有损两种。
无损(Lossless)
GIF(Graphic Information Format)Compuserve GIF is fully supported by the Android OS, but is not recommended(Android全部支持,但不推荐)
使用没问题,但质量不高
Index Color depth
因为GIF压缩算法不如PNG精制(强大),它只支持索引颜色
PNG (Portable Network Graphic)
recommended 推荐使用
decent compression 压缩效果好
PNG8 Index Color depth
PNG24 trueColor depth)
有损(Lossy)
Lossy 有损
JPEG(Joint Photographic Experts Group )
trueColor color depth
in order to achieve smaller file sizes(有损原因)
不可恢复 original image data is unrecoverable
JPEG(Joint Photographic Experts Group )
trueColor color depth
in order to achieve smaller file sizes(有损原因)
不可恢复 original image data is unrecoverable
WebP(Google)
有有损和无损两种形式
2.3.7提供read , 4.0以后提供write。
作者不推荐
起源于ON2,派生自Vp8格式。
2.3.7提供read , 4.0以后提供write。
作者不推荐
起源于ON2,派生自Vp8格式。
第二节:Android View and ViewGroup Classes: Image Containers
主要讲View 类和ViewGroup类的介绍。
第三节:The Foundation of Digital Images: Pixels and Aspect Ratio
像素和长宽比的概念。
第四节:The Color of Digital Images: Color Theory and Color
RGB
additive color256Value
8bit
16bit
65536TGA
TIFF
24bit
16777216 colorsupport
JPEG(JPG)
PNG
TGA
第五节:Representing Colors in Android: Hexadecimal Notation
颜色的16进制表示
RGB
高位表示亮度
高位表示亮度
32bit
ARGB(A: alpha)
ARGB(A: alpha)
第六节:Image Compositing: Alpha Channels and Blending Modes
屏蔽某一部分(某一颜色)
第七节:Smoothing Edges in a Mask: The Concept of Anti-Aliasing
平滑边界:反锯齿概念第八节:Optimizing Digital Images: Compression and Dithering
图片的优化压缩概念
其余部分
配置Android开发环境