Dither Go! v0.2.0
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]
- 3-channel list:
- Hexadecimal color code:
- Small form:
#128
- Normal form:
#adfbea
- Extended form:
#deadbeef
- Small form:
What's Changed
- Fix compilation issues in
build_wheel
workflow by @tfuxu in #4 - Simplify color palette creation by @tfuxu in #5
New Contributors
Full Changelog: https://github.com/tfuxu/dither-go/commits/v0.2.0