make(format:colorSpace:alphaIsOpaqueHint:)
Creates the description of an RGB image encoding in a Core Video pixel buffer from the specified properties.
Declaration
static func make(format: vImageCVImageFormat.Format, colorSpace: CGColorSpace, alphaIsOpaqueHint: Bool) -> vImageCVImageFormat?Parameters
- format:
The format type of the image.
- colorSpace:
The color space of RGB and monochrome images.
- alphaIsOpaqueHint:
A hint that indicates that the function interprets an image with an alpha channel as opaque.
Return Value
A vImageCVImageFormat instance encoded with the function’s parameters.