average_color

Crates.ioaverage_color
lib.rsaverage_color
version
sourcesrc
created_at2021-09-17 07:38:44.338797
updated_at2024-12-05 20:39:38.056297
descriptionGet the average color of an image
homepage
repositoryhttps://github.com/ahkohd/get_average
max_upload_size
id452681
Cargo.toml error:TOML parse error at line 19, column 1 | 19 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Victor Aremu (ahkohd)

documentation

README

average_color

A simple image average color extractor written in 🦀 Rust

Rust


🔧 Usage

use average_color;
use tokio;

#[tokio::main]
fn main() {
    let paths = ["~/test1.png", "~/test2.png"];
    let results = average_color::get_averages_colors(&paths).await;
    println!("results: {:?}", results);
}

📖 Docs

Commit count: 0

cargo fmt