Contents

imageWithContentsOfURL:options:

Creates and returns an image object from the contents of a file, using the specified options.

Declaration

+ (CIImage *) imageWithContentsOfURL:(NSURL *) url options:(NSDictionary<NSString *,id> *) options;

Parameters

  • url:

    The location of the file.

  • options:

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

Return Value

An image object initialized with the contents of the file and set up with the specified options.

See Also

Creating an Image