DitherMethod

enum DitherMethod : Enum<DitherMethod>

Apply a Riemersma or Floyd-Steinberg error diffusion dither to images when general color reduction is applied via an option, or automagically when saving to specific formats. This enabled by default.

 

Dithering places two or more colors in neighboring pixels so that to the eye a closer approximation of the images original color is reproduced. This reduces the number of colors needed to reproduce the image but at the cost of a lower level pattern of colors. Error diffusion dithers can use any set of colors (generated or user defined) to an image.

Entries

Link copied to clipboard

FloydSteinberg dither reduces an image into a reduced set of colors while attempting to minimize perceptual changes.

Link copied to clipboard

Riemersma dither is a novel dithering algorithm that can reduce a grey scale or color image to any color map (also called a palette) and that restricts the influence of a dithered pixel to a small area around it.

Link copied to clipboard

Don't use any dither method.

Link copied to clipboard

Unset value.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int