Implementations of some of the dithering methods from https://surma.dev/things/ditherpunk/ in go.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
2 years ago | |
---|---|---|
example | 2 years ago | |
.gitignore | 2 years ago | |
README.md | 2 years ago | |
color_quant.go | 2 years ago | |
go.mod | 2 years ago | |
main.go | 2 years ago | |
quantizer.go | 2 years ago | |
quantizer_test.go | 2 years ago |
README.md
dither
This repo implements a number of the dithering methods detailed on https://surma.dev/things/ditherpunk/.
light.png, light-hires.jpg, dark.png, and dark-hires.jpg are from Surma's post, used under CC BY-NC-SA 4.0.
david.png is taken from the wikipedia article on dithering, where it was released into the public domain.
I took cricket.jpg.