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)