MonobjcMonobjc Documented Class Library
ImageWithData Method (data)
NamespacesMonobjc.QuartzCoreCIImageImageWithData(NSData)

Creates and returns an image object initialized with the supplied image data.

Original signature is '+ (CIImage *)imageWithData:(NSData *)data'

Available in 4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static CIImage ImageWithData(
	NSData data
)
Public Shared Function ImageWithData ( _
	data As NSData _
) As CIImage
public:
static CIImage^ ImageWithData(
	NSData^ data
)
Parameters
data (NSData)
The data object that holds the contents of an image file (such as TIFF, GIF, JPG, or whatever else the system supports). The image data must be premultiplied.
Return Value
An image object initialized with the supplied data, or nil if the method cannot create an image representation from the contents of the supplied data object.
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)