dither-go

Dither Go: A fast and the most correct image dithering library

GPL-3.0 License

Downloads
420
Stars
2

Bot releases are visible (Hide)

dither-go - Dither Go! v0.4.0 Latest Release

Published by tfuxu 10 months ago

This release contains bindings for dither v2.4.0, which fixes long-standing memory issues in the library, allowing it to be used in batch processing applications.

It also fixes a missing simple_parsing dependency, which should now install automatically during library update.

Full Changelog: https://github.com/tfuxu/dither-go/compare/v0.3.0...v0.4.0

dither-go - Dither Go! v0.3.0

Published by tfuxu about 1 year ago

Dither Go! v0.3.0

This release adds a new MatrixUtils helper class with generate_matrices_list() method for use when a list of dither algorithms display names and matrix objects is needed (eg. when creating a selection dialog with available algorithms).

Full Changelog: https://github.com/tfuxu/dither-go/compare/v0.2.1...v0.3.0

dither-go - Dither Go! v0.2.1

Published by tfuxu about 1 year ago

Dither Go! v0.2.1

This is a PyPI release, it doesn't functionally differ from 0.2.0.

What's Changed

Full Changelog: https://github.com/tfuxu/dither-go/compare/v0.2.0...v0.2.1

dither-go - Dither Go! v0.2.0

Published by tfuxu about 1 year ago

Dither Go! v0.2.0

This release contains a simpler interface for creating custom color palettes using create_palette function. Now you can use either a list of RGBA color channels or hexadecimal color codes to represent colors used in dithered images (you can also mix formats).

Example:

palette = dither_go.create_palette([
    "#000000",  # Standard hex code
    [255, 255, 255, 255],  # RGB list with fourth alpha channel
    "#FF0000FF",  # Extended hex code
])

Supported color formats:

  • RGBA:
    • 3-channel list: [64, 128, 255]
    • 4-channel list: [12, 24, 36, 48]
  • Hexadecimal color code:
    • Small form: #128
    • Normal form: #adfbea
    • Extended form: #deadbeef

What's Changed

New Contributors

Full Changelog: https://github.com/tfuxu/dither-go/commits/v0.2.0