codex/site-src/dithering.wtn

15 lines
425 B
Plaintext

$img lain-bear.png
* Dithering
Dithering is the act of reducing an image's palette by different means. It is a
common way to reduce file sizes.
** Floyd-Steinberg
One of the most well-known dithering algorithms is the Floyd-Steinberg
algorithm. It is based on spreading out rounding errors of individual pixels
onto its surrounding pixels.
{https://tildegit.org/opfez/dither Implementation of Floyd-Steinberg dithering}