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

Creates and returns an image object initialized with data provided by an image provider.

Original signature is '+ (CIImage *)imageWithImageProvider:(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 static CIImage ImageWithImageProviderSizeFormatColorSpaceOptions(
	Id p,
	IntPtr width,
	IntPtr height,
	int f,
	IntPtr cs,
	NSDictionary dict
)
Public Shared Function ImageWithImageProviderSizeFormatColorSpaceOptions ( _
	p As Id, _
	width As IntPtr, _
	height As IntPtr, _
	f As Integer, _
	cs As IntPtr, _
	dict As NSDictionary _
) As CIImage
public:
static CIImage^ ImageWithImageProviderSizeFormatColorSpaceOptions(
	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)
The width of the image.
height (IntPtr)
The height of the image.
f (Int32)
A pixel format constant. See “Pixel Formats”.
cs (IntPtr)
The color space that the image is defined in. If the 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
An image object initialized with the data from the data provider. Core Image does not populate the image object until the object needs the data.
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)