v2.1.0
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 returnsnil
, 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
andDitherPalettedConfig
GetColorModel