Complete List of Supported Quartz Bitmap Content Formats as of Tiger

Pixel Format

Bits per

Component

Bits per

Pixel

Bitmap Info Value

Color

Space

Available

Starting

in Mac

OS X

1-component, 8-bit data, no

alpha: GGGG…

8 8

kCGImageAlphaNone

Gray

10.0

3-component, 16-bit data, no

alpha, 1 leading padding bit:

XRGBXRGB…

5 16

kCGImageAlphaNoneSkipFirst

RGB

10.0

3-component, 32-bit data, no

alpha, 1 leading padding

byte: XRGBXRGB…

8 32

kCGImageAlphaNoneSkipFirst

RGB

10.0

3-component, 32-bit data, no

alpha, 1 trailing padding

byte: RGBXRGBX…

8 32

kCGImageAlphaNoneSkipLast

RGB

10.0

3-component, 32-bit data

with leading premultiplied

alpha byte: ARGBARGB…

8 32

kCGImageAlphaPremultipliedFirst

RGB

10.0

3-component, 32-bit data

with trailing premultiplied

alpha byte: RGBARGBA…

8 32

kCGImageAlphaPremultipliedLast

RGB

10.0

4-component, 32-bit data

with no alpha, no padding

bits: CMYKCMYK…

8 32

kCGImageAlphaNone

CMYK

10.3

1-component, 8-bit alpha

only: AAAA…

8 8

kCGImageAlphaOnly

NULL

10.3

1-component, 32-bit

floating-point data per

component with no alpha, no

padding bits: GGGG…

32 32

kCGImageAlphaNone |

kCGBitmapFloatComponents

Gray

10.4

3-component, 32-bit

floating-point data per

component, with no alpha, 4

trailing padding bytes:

RGBXRGBX…

32 128

kCGImageAlphaNoneSkipLast |

kCGBitmapFloatComponents

RGB

10.4

3-component, 32-bit

floating-point data per

component, with trailing

premultiplied alpha:

RGBARGBA…

32 128

kCGImageAlphaPremultiplied-

Last | kCGBitmapFloatComponents

RGB

10.4

4-component, 32-bit

floating-point data per

component, with no alpha,

no padding bits:

CMYKCMYK…

32 128

kCGImageAlphaNone |

kCGBitmapFloatComponents

CMYK

10.4

           
           

阅读更多
文章标签: quartz list byte
个人分类: Quartz2d
上一篇CMYK
下一篇Objective-C - Block 全覽
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭