Skip to content

v2.3.0

Compare
Choose a tag to compare
@makew0rld makew0rld released this 21 Dec 01:09
· 7 commits to master since this release

This is release is exciting, as it fixes some long standing nagging issues with the library. Now all images should be dithered correctly and producing the mathematically best output, especially compared to existing libraries. From a correctness standpoint, I think it is likely this library is complete (for the sRGB colorspace).

Note the dithered output of color images will be different in this release for most palettes. It will be improved, but it will be different. I do not consider this a breaking change.

If you'd like to support the development of this library, as well as my other projects, you can sponsor me through Ko-Fi or Github Sponsors.

Changelog

Copied from CHANGELOG.md

Changed

  • When comparing colors, each channel is weighted according to human luminance perception (didder#14)

Fixed

  • Corrected Burkes matrix (#10)
  • Palette order no longer affects output (#9)
  • Grayscale palettes don't require the input image be converted to grayscale beforehand (#7) (incorrect, see #7)