Initializer

init(cgImage:format:flags:)

Returns a new, initialized buffer with the contents of a Core Graphics image, that uses the supplied image format.

Declaration

init(cgImage: CGImage, format: vImage_CGImageFormat, flags options: vImage.Options = .noFlags) throws