MonobjcMonobjc Documented Class Library
GetBitsPerPixel Method (image)
NamespacesMonobjc.ApplicationServicesCGImageGetBitsPerPixel(IntPtr)

Returns the number of bits allocated for a single pixel in a bitmap image.

Original signature is 'size_t CGImageGetBitsPerPixel ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static NSUInteger GetBitsPerPixel(
	IntPtr image
)
Public Shared Function GetBitsPerPixel ( _
	image As IntPtr _
) As NSUInteger
public:
static NSUInteger GetBitsPerPixel(
	IntPtr image
)
Parameters
image (IntPtr)
MISSING
Return Value
The number of bits used in memory for each pixel of the specified bitmap image (or image mask).
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)