init(image:options:)
Initializes an image object with the specified UIKit image object, using the specified options.
Declaration
init?(image: UIImage, options: [CIImageOption : Any]? = nil)Parameters
- image:
An image containing the source data.
- options:
A dictionary that contains options for creating an image object. You can supply such options as a pixel format and a color space. See
Image Dictionary Keys.
See Also
Creating an Image
empty()init(image:)init(contentsOf:)init(contentsOf:options:)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:)