Creates and returns an image object initialized with the supplied image data, using the specified options.
Original signature is '+ (CIImage *)imageWithData:(NSData *)data options:(NSDictionary *)d'
Available in 4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public static CIImage ImageWithDataOptions( NSData data, NSDictionary d )
Public Shared Function ImageWithDataOptions ( _ data As NSData, _ d As NSDictionary _ ) As CIImage
public: static CIImage^ ImageWithDataOptions( NSData^ data, NSDictionary^ d )
Parameters
- data (NSData)
- A pointer to the image data. The data must be premultiplied
- d (NSDictionary)
- A dictionary that contains options for creating an image object. You can supply such options as a pixel format and a color space. See “Pixel Formats”.
Return Value
An image object initialized with the supplied data and set up with the specified options.
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)