tfuxu / Halftone

Give your images that pixel art-like style
GNU General Public License v3.0
97 stars 15 forks source link

Drop ImageMagick in favor of PIL #28

Open tfuxu opened 1 year ago

tfuxu commented 1 year ago

Moving from Wand (wrapper for ImageMagick) to Pillow would allow me to utilize ~hitherdither~ (see the comment below) library, which contains additional dithering algorithms and custom image palettes. As an added bonus, the packaging will become probably more straightforward, and the performance will improve[^1].

[^1]: Pillow Performance site

tfuxu commented 11 months ago

Currently the plan is to instead use dither-go library, which contains more dithering algorithms, is much faster and according to original dither description: "is uniquely correct from a math and quality perspective".