Contents

init(cvImageBuffer:)

Initializes an image object from the contents of a Core Video image buffer.

Declaration

init(cvImageBuffer imageBuffer: CVImageBuffer)

Parameters

  • imageBuffer:

    A CVImageBuffer object in a supported pixel format constant. For more information, see Corevideo.

Return Value

The initialized image object.

Discussion

The imageBuffer parameter must be in one of the following formats:

See Also

Creating an Image