3 releases

0.1.2 Oct 8, 2024
0.1.1 Oct 8, 2024
0.1.0 Aug 13, 2024

#459 in Images

Download history 134/week @ 2024-08-12 13/week @ 2024-09-16 9/week @ 2024-09-23 2/week @ 2024-09-30 333/week @ 2024-10-07 25/week @ 2024-10-14

369 downloads per month

MIT license

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