Storage options for alpha component data.
Available in Mac OS X v10.0 and later.
C# | Visual Basic | Visual C++ |
public enum CGImageAlphaInfo
Public Enumeration CGImageAlphaInfo
public enum class CGImageAlphaInfo
Member | Description |
---|---|
kCGImageAlphaNone | There is no alpha channel. If the total size of the pixel is greater than the space required for the number of color components in the color space, the least significant bits are ignored. This value is equivalent to kCGImageAlphaNoneSkipLast. Available in Mac OS X v10.0 and later. |
kCGImageAlphaPremultipliedLast | The alpha component is stored in the least significant bits of each pixel and the color components have already been multiplied by this alpha value. For example, premultiplied RGBA. Available in Mac OS X v10.0 and later. |
kCGImageAlphaPremultipliedFirst | The alpha component is stored in the most significant bits of each pixel and the color components have already been multiplied by this alpha value. For example, premultiplied ARGB. Available in Mac OS X v10.0 and later. |
kCGImageAlphaLast | The alpha component is stored in the least significant bits of each pixel. For example, non-premultiplied RGBA. Available in Mac OS X v10.0 and later. |
kCGImageAlphaFirst | The alpha component is stored in the most significant bits of each pixel. For example, non-premultiplied ARGB. Available in Mac OS X v10.0 and later. |
kCGImageAlphaNoneSkipLast | There is no alpha channel. If the total size of the pixel is greater than the space required for the number of color components in the color space, the least significant bits are ignored. This value is equivalent to kCGImageAlphaNone. Available in Mac OS X v10.0 and later. |
kCGImageAlphaNoneSkipFirst | There is no alpha channel. If the total size of the pixel is greater than the space required for the number of color components in the color space, the most significant bits are ignored. Available in Mac OS X v10.0 and later. |
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)