init(contentsOf:options:)
Initializes an image object by reading an image from a URL, using the specified options.
Declaration
init?(contentsOf url: URL, options: [CIImageOption : Any]? = nil)Parameters
- url:
The location of the image file to read.
- options:
A dictionary specifying image options. (See
Image Dictionary Keys.)
Return Value
The initialized image object, or nil if the object could not be initialized.
See Also
Creating an Image
empty()init(image:)init(image:options:)init(contentsOf:)init(cgImage:)init(cgImage:options:)init(cgImageSource:index:options:)init(data:)init(data:options:)init(bitmapData:bytesPerRow:size:format:colorSpace:)init(bitmapImageRep:)init(imageProvider:size:_:format:colorSpace:options:)init(depthData:)init(depthData:options:)init(portaitEffectsMatte:)