createCGImage(format:flags:)
Creates a Core Graphics image from the vImage buffer.
Declaration
func createCGImage(format: vImage_CGImageFormat, flags options: vImage.Options = .noFlags) throws -> CGImageParameters
- format:
The desired format.
- options:
The options to use when performing the operation.
Mentioned in
Return Value
A Core Graphics image that represents the contents of the vImage buffer.