Skip to content

v2.1.0

Compare
Choose a tag to compare
@makew0rld makew0rld released this 29 Apr 17:47
· 17 commits to master since this release

This release simplifies usage of .Dither, and makes some important bug fixes around palette usage. These improvements came about because of my work on a CLI tool for this library, didder, so check that out!

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

Added

  • JSON tags for OrdereredDitherMatrix

Changed

  • Dither never returns nil, making code simpler

Fixed

  • Bug where paletted images would never be detected as needing to be copied in Dither
  • Palette is actually fully copied when needed, before the colors were shared with passed slice
    • NewDitherer
    • GetColorPalette
    • DitherPaletted and DitherPalettedConfig
    • GetColorModel