馃懡 smokey

Hey @sk Would you mind telling me how you do photo dithering over at your image board?

2 years ago

Actions

馃憢 Join Station

5 Replies

馃懡 sk

i played around with the various dithering strategies and i landed on ordered dithering. it may not be as accurately representative and well defined as the floyd-steinberg, but i just love the crosshatch aesthetic 路 2 years ago

馃懡 marginalia

Also surprisingly straightforward to implement yourself https://en.wikipedia.org/wiki/Floyd鈥揝teinberg_dithering 路 2 years ago

https://en.wikipedia.org/wiki/Floyd

馃懡 mntn

There is also dither: https://github.com/makeworld-the-better-one/dither (command line wrapper: https://github.com/makeworld-the-better-one/didder) 路 2 years ago

https://github.com/makeworld-the-better-one/dither

https://github.com/makeworld-the-better-one/didder

馃懡 smokey

Awesome, exactly what i wanted to know. Thank you very much!! 路 2 years ago

馃懡 sk

for sure! it's not too interesting i'm afraid. it's just using imagemagick under the hood https://github.com/imagemagick/imagemagick

the exact command i use is

convert $INPUT -resize '512x512>' -ordered-dither o2x2,3 $OUTPUT

路 2 years ago

https://github.com/imagemagick/imagemagick