Contents

imageWithData:options:

Creates and returns an image object initialized with the supplied image data, using the specified options.

Declaration

+ (CIImage *) imageWithData:(NSData *) data options:(NSDictionary<NSString *,id> *) options;

Parameters

  • data:

    A pointer to the image data. The data must be premultiplied.

  • options:

    A dictionary specifying image options. (See Image Dictionary Keys.)

Return Value

An image object initialized with the supplied data and set up with the specified options.

See Also

Creating an Image