Which CGImageAlphaInfo should we use?

后端 未结 4 1970
迷失自我
迷失自我 2020-12-09 12:05

The Quartz 2D programming guide defines the availability of the various alpha storage modes:

\"enter

4条回答
  •  盖世英雄少女心
    2020-12-09 12:45

    Confirmed by an Apple engineer at WWDC 2014 that we should use kCGImageAlphaPremultipliedFirst or kCGImageAlphaNoneSkipFirst, and that it does affect performance.

提交回复
热议问题