MonobjcMonobjc Documented Class Library
InitWithImageProviderSizeFormatColorSpaceOptions Method (p, width, height, f, cs, dict)
NamespacesMonobjc.QuartzCoreCIImageInitWithImageProviderSizeFormatColorSpaceOptions(Id, IntPtr, IntPtr, Int32, IntPtr, NSDictionary)

Initializes an image object with data provided by an image provider, using the specified options.

Original signature is '- (id)initWithImageProvider:(id)p size:(size_t)width:(size_t)height format:(CIFormat)f colorSpace:(CGColorSpaceRef)cs options:(NSDictionary *)dict'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public virtual Id InitWithImageProviderSizeFormatColorSpaceOptions(
	Id p,
	IntPtr width,
	IntPtr height,
	int f,
	IntPtr cs,
	NSDictionary dict
)
Public Overridable Function InitWithImageProviderSizeFormatColorSpaceOptions ( _
	p As Id, _
	width As IntPtr, _
	height As IntPtr, _
	f As Integer, _
	cs As IntPtr, _
	dict As NSDictionary _
) As Id
public:
virtual Id^ InitWithImageProviderSizeFormatColorSpaceOptions(
	Id^ p, 
	IntPtr width, 
	IntPtr height, 
	int f, 
	IntPtr cs, 
	NSDictionary^ dict
)
Parameters
p (Id)
A data provider that implements the CIImageProvider informal protocol. Core Image retains this data until the image is deallocated.
width (IntPtr)
MISSING
height (IntPtr)
The height of the image data.
f (Int32)
A pixel format constant. See “Pixel Formats”.
cs (IntPtr)
The color space of the image. If this value is nil, the image is not color matched. Pass nil for images that don’t contain color data (such as elevation maps, normal vector maps, and sampled function tables).
dict (NSDictionary)
A dictionary that specifies image-creation options, which can be kCIImageProviderTileSize or kCIImageProviderUserInfo. See CIImageProvider Protocol Reference for more information on these options.
Return Value
The initialized image object or nil if the object could not be initialized.
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)