We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently the only way to use this tool is through the command-line, which is inefficient for other Rust tools.
It would be nice if it was published as a crate that I could reuse from other apps.
Here's a basic interface:
pub fn find_dominant_colors(path: &PathBuf, max_colors: usize) -> Vec<palette::Lab> { … } pub fn choose_best_color_for_bg(colors: Vec<palette::Lab>, background: palette:Lab>) -> palette::Lab { … }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Currently the only way to use this tool is through the command-line, which is inefficient for other Rust tools.
It would be nice if it was published as a crate that I could reuse from other apps.
Here's a basic interface:
The text was updated successfully, but these errors were encountered: