imageWithCGImage:
Creates and returns an image object from a Quartz 2D image.
Declaration
+ (CIImage *) imageWithCGImage:(CGImageRef) image;Parameters
- image:
A Quartz 2D image (Cgimage) object. For more information, see TP30001066 and Cgimage.
Return Value
An image object initialized with the contents of the Quartz 2D image.
See Also
Creating an Image
empty()init(image:)init(image:options:)init(contentsOf:)imageWithContentsOfURL:init(contentsOf:options:)imageWithContentsOfURL:options:init(cgImage:)imageWithCGImage:options:init(cgImage:options:)imageWithCGImageSource:index:options:init(cgImageSource:index:options:)imageWithData:init(data:)imageWithData:options: