Contents

convert(to:channelOrdering:)

Converts the 8-bit-per-channel RGBA or ARGB pixel buffer to RGB.

Declaration

func convert(to destination: vImage.PixelBuffer<vImage.Interleaved8x3>, channelOrdering: vImage.ChannelOrdering)

Parameters

  • destination:

    The destination pixel buffer.

  • channelOrdering:

    An enumeration that specifies whether the source is either ARGB or RGBA.

See Also

Conversion from four channels to three channels