makeCGImage(cgImageFormat:)
Returns a Core Graphics image from the pixel buffer’s contents.
Declaration
func makeCGImage(cgImageFormat: vImage_CGImageFormat) -> CGImage?Parameters
- cgImageFormat:
The Core Graphics format of the source buffer.
Mentioned in
Return Value
A Core Graphics image that contains the source buffer’s contents.