nate-xyz / paleta

Extract the dominant colors from any image.
https://beta.flathub.org/apps/io.github.nate_xyz.Paleta
GNU General Public License v3.0
100 stars 14 forks source link

Drop `colorthief` in favor of faster `fast-colorthief` #10

Closed tfuxu closed 1 year ago

tfuxu commented 1 year ago

Description

This PR replaces original colorthief library with faster fast-colorthief, written in C++ and adapts Paleta codebase to changes in the new library. It also includes some minor changes, like fix in Flatpak manifest, updated .gitignore and added notes about match...case statements.

Included changes:

* adapt Paleta codebase to the changes in `fast-colorthief` code
* add `numpy` to runtime requirements
* update pypi-dependencies.json
* fix Flatpak manifest unable to find project root directory
* add note about `match...case` statement
* update .gitignore
tfuxu commented 1 year ago

Closing, as Paleta's Rust rewrite is currently underway. (for anyone interested: https://github.com/nate-xyz/paleta/tree/rust_rw)