vImageCGImageFormat_GetComponentCount(_:)
Calculates the number of color and alpha channels for a specified image format.
Declaration
func vImageCGImageFormat_GetComponentCount(_ format: UnsafePointer<vImage_CGImageFormat>) -> UInt32Parameters
- format:
A valid Vimage_cgimageformat structure.
Return Value
The number of color and alpha channels in the image.