Global Variable


A constant that indicates the conversion will add Floyd-Steinberg dithering to the image.


var kvImageConvert_DitherFloydSteinberg: UInt32 { get }


The following shows an 8-bit RGB image converted to a 1-bit planar image with vImageConvert_Planar8toPlanar1(_:_:_:_:_:) using kvImageConvert_DitherFloydSteinberg:

Photos showing the original image and the dithered image.

To learn about converting an RGB image to grayscale, see Converting Color Images to Grayscale.