Skip to main content

Module dither

Module dither 

Source

Functionsยง

dither
Apply Floyd-Steinberg dithering to quantize an RGBA8888 image to the target pixel format. The output is always RGBA8888; the quantization reduces the number of unique colour values to match the target bit depth.