3 releases
0.1.2 | Oct 8, 2024 |
---|---|
0.1.1 | Oct 8, 2024 |
0.1.0 | Aug 13, 2024 |
#459 in Images
369 downloads per month
7KB
129 lines
This is a simple dithering library
Usage
pub fn main(){
let image: DynamicImage = todo!();
let dithered_image = DitherBuilder::new(image)
.highlights(Rgb([255;3]))
.shadows(Rgb([0;3]))
.resize(Resize::Scale(0.5))
.generate();
}
Dependencies
~4.5MB
~84K SLoC