convert(to:channelOrdering:)
Converts the 32-bit-per-channel RGBA or ARGB pixel buffer to RGB.
Declaration
func convert(to destination: vImage.PixelBuffer<vImage.InterleavedFx3>, channelOrdering: vImage.ChannelOrdering)Parameters
- destination:
The destination pixel buffer.
- channelOrdering:
An enumeration that specifies whether the source is either ARGB or RGBA.