Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 787 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 787 Bytes

jole dither

jd will dither images according to a palette (or the default one). It will read fardbeld images from stdin, and then write the result to stdout. See the test for an example.

before

after

dentaku

Usage

jd reads a fardbeld image on stdin and outputs a corresponding dithered farbfeld image on stdout.

2ff <cute.png | cargo run -r | ff2png >cuter.png

You can also pass a palette

echo -e 'fbbbad\nee8695\n4a7a96\n333f58\n292831' > pal
2ff <cute.png | cargo run -r -- pal | ff2png >cutest.png

Todo

  • palette generation
  • threaded video dithering jdv