Dither

Dither

gegl:dither
Reduce the number of colors in the image, by reducing the levels per channel (colors and alpha). Different dithering methods can be specified to counteract quantization induced banding.
Picture not available yet

Operation pads

This operation exposes the following data pads, defining how it receives, processes, and emits image data:

Input
Output

Operation properties

Red levels
gint
Number of levels for red channel.
Default 6
Value range 265536.
Green levels
gint
Number of levels for green channel.
Default 7
Value range 265536.
Blue levels
gint
Number of levels for blue channel.
Default 6
Value range 265536.
Alpha levels
gint
Number of levels for alpha channel.
Default 256
Value range 265536.
Dithering method
dictionary
The dithering method to use.
Default Floyd-Steinberg
Possible values NoneFloyd-SteinbergBayerRandomRandom CovariantArithmetic addArithmetic add covariantArithmetic xorArithmetic xor covariantBlue NoiseBlue Noise Covariant
Random seed
guint
Default 0
Value range 04294967295.