Coding 2025-04-07
All right, I didn't want to touch the code, but I've written up all of the changes I want to make to the code, and all of the ideas I have for parts of the code that I don't need yet. As part of all of that, I typed up rough drafts of the jitted versions of the error diffusion dithering algorithms. (Well, except for Riemersma. I want to put Riemersma on the back burner for now, because everything else just works so much better, currently.)
Because I don't want to update Riemersma, or delete it without documentation, my plan right now is:
- Move the dither module to dither_old or something.
- Create a resize module to make things be the right size.
- Create a colorspace module to handle getting images down to linear luma.
- Create new dither module to host the more ergonomic, hopefully-faster functions I've drafted.
With all of those together, I should be able to make the testing I've done clearer, and faster. We'll see, though.
Good night.