MonobjcMonobjc Documented Class Library
GetColorSpace Method (image)
NamespacesMonobjc.ApplicationServicesCGImageGetColorSpace(IntPtr)

Return the color space for a bitmap image.

Original signature is 'CGColorSpaceRef CGImageGetColorSpace ( CGImageRef image );'

Available in Mac OS X version 10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static IntPtr GetColorSpace(
	IntPtr image
)
Public Shared Function GetColorSpace ( _
	image As IntPtr _
) As IntPtr
public:
static IntPtr GetColorSpace(
	IntPtr image
)
Parameters
image (IntPtr)
MISSING
Return Value
The source color space for the specified bitmap image, or NULL if the image is an image mask. You are responsible for retaining and releasing the color space as necessary.
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)