makew0rld/dither

Burkes dithering matrix might be wrong

SteveHawk opened this issue · 1 comments

Hey there, love the project, but the burkes dithering matrix here appears to be wrong:

error_diffusers.go#L97

{0, 0, 0, 8.0 / 32, 8.0 / 32},

Which I believe should be {0, 0, 0, 8.0 / 32, 4.0 / 32}, according to libcaca/study/3, and Image Dithering: Eleven Algorithms and Source Code

Thanks for bringing this up! Fixed in 1569118. Let me know if you'd like a new release.