average_color

Crates.ioaverage_color
lib.rsaverage_color
version0.1.1
sourcesrc
created_at2021-09-17 07:38:44.338797
updated_at2021-09-18 16:28:05.39257
descriptionGet the average color of an image
homepage
repositoryhttps://github.com/ahkohd/get_average
max_upload_size
id452681
size8,219
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