- Overhauled the CLI to use the `typer` library for a more user-friendly experience. Note this is a breaking change for CLI users. Run `pylette --help` for more information.
3.0.2
Fixed
- Fixed a bug where the CLI did not respect the `--colorspace` argument when extracting colors.
3.0.1
Fixed - Fixed a bug where the color frequencies of colors in a palette were not summing to one when using the Median Cut algorithm.
3.0.0
Changed - Changed the `image` argument to the `extract_color` function to accept: - A path to an image file, as a string or a pathlike. - An URL to an image file, as a string. - A byte stream of an image file, as a bytes object. - A numpy array of an image file, as a numpy array. -
2.3.0
- Added `image_array` to the `extract_color` function, allowing the user to specify an image as a numpy array.
2.2.0
Changed
- Added `image_bytes` to the `extract_color` function, allowing the user to specify an image as a byte stream to extract colors from.