Contents

vImageCGImageFormat_GetComponentCount(_:)

Calculates the number of color and alpha channels for a specified image format.

Declaration

func vImageCGImageFormat_GetComponentCount(_ format: UnsafePointer<vImage_CGImageFormat>) -> UInt32

Parameters

Return Value

The number of color and alpha channels in the image.

See Also

Querying Core Graphics image format attributes