Contents

init(cgImage:options:)

Initializes an image object with a Quartz 2D image, using the specified options.

Declaration

init(cgImage image: CGImage, options: [CIImageOption : Any]? = nil)

Parameters

  • image:

    A Quartz 2D image (Cgimage) object. For more information, see TP30001066 and Cgimage.

  • options:

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

Return Value

The initialized image object.

See Also

Creating an Image