dithord: Bayer ordered dithering crate
This crate provides functionality which allows for monochromatic ordered dithering using a Bayer threshold matrix. This method of dithering is less accurate than others but is fast and visually appealing.
Currently only monochromatic dithering is supported, but support for arbitrary palettes could be considered as a feature.
Add to Project
Usage
This crate provides the OrderedDither trait which is implemented for image::DynamicImage, along with a ThresholdMap struct for generating and storing the Bayer matrix.
Example
use ;
use ;