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
empty()init(image:)init(image:options:)init(contentsOf:)imageWithContentsOfURL:init(contentsOf:options:)imageWithCGImage:init(cgImage:)imageWithCGImage:options:init(cgImage:options:)imageWithCGImageSource:index:options:init(cgImageSource:index:options:)imageWithData:init(data:)imageWithData:options: