《Pro Android Graphics》读书笔记之第一节

        大体上看了一下,该书共分为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
       WebP(Google)

有有损和无损两种形式
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 color
        256Value
                8bit
      16bit
       65536
       TGA
       TIFF
      24bit
16777216 color
support
JPEG(JPG)
PNG
TGA 

        第五节:Representing Colors in Android: Hexadecimal Notation 

                颜色的16进制表示
                RGB
              高位表示亮度
                32bit
             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开发环境

                    






评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值