hitherdither
hitherdither copied to clipboard
Dithering algorithms for arbitrary palettes in PIL
When using a palette from an image, everything turned out frighteningly red - the shape of the matrix was correct but the data was in the wrong order.
* Python version: 3.8 * Operating System: Windows 10 ### Description I attempted to create a palette with a PNG w/ a RGBA paltette converted to a JPEG w/ a...
I've noticed that images produced with hitherdither are slightly different than those produced with other programs using the same algorithms. I tested this using Floyd-Steinberg on a solid 50% gray...
This should be available via pypi. Without an easy dependency option, I would have just lifted the needed code but, it's a bit of a labyrinth in that needed functions...
Currently grayscale and BW images does not work very well att all with the palette object. Needs to be implemented.