Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Burkes dithering matrix might be wrong #10

Closed
SteveHawk opened this issue Apr 6, 2022 · 1 comment
Closed

Burkes dithering matrix might be wrong #10

SteveHawk opened this issue Apr 6, 2022 · 1 comment

Comments

@SteveHawk
Copy link

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

makew0rld added a commit that referenced this issue Apr 9, 2022
@makew0rld
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants