MonobjcMonobjc Documented Class Library
ImageWithCGImageOptions Method (image, d)
NamespacesMonobjc.QuartzCoreCIImageImageWithCGImageOptions(IntPtr, NSDictionary)

Creates and returns an image object from a Quartz 2D image using the specified color space.

Original signature is '+ (CIImage *)imageWithCGImage:(CGImageRef)image options:(NSDictionary *)d'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIImage ImageWithCGImageOptions(
	IntPtr image,
	NSDictionary d
)
Public Shared Function ImageWithCGImageOptions ( _
	image As IntPtr, _
	d As NSDictionary _
) As CIImage
public:
static CIImage^ ImageWithCGImageOptions(
	IntPtr image, 
	NSDictionary^ d
)
Parameters
image (IntPtr)
A Quartz 2D image (CGImageRef) object. For more information, see Quartz 2D Programming Guide and CGImage Reference.
d (NSDictionary)
A dictionary that contains a color space key (kCIImageColorSpace) whose value is a CGColorSpaceobject. (See CGColorSpaceRef.)
Return Value
An image object initialized with the contents of the Quartz 2D image and the specified color space.
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)