Returns the number of bits allocated for a single color component of a bitmap image.
Original signature is 'size_t CGImageGetBitsPerComponent ( CGImageRef image );'
Available in Mac OS X version 10.0 and later.

C# | Visual Basic | Visual C++ |
public static NSUInteger GetBitsPerComponent( IntPtr image )
Public Shared Function GetBitsPerComponent ( _ image As IntPtr _ ) As NSUInteger
public: static NSUInteger GetBitsPerComponent( IntPtr image )

- image (IntPtr)
- MISSING

The number of bits used in memory for each color component of the specified bitmap image (or image mask). Possible values are 1, 2, 4, or 8. For example, for a 16-bit RGB(A) colorspace, the function would return a value of 4 bits per color component.

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)