[][src]Function color_counter::get_colors

pub fn get_colors(filepath: &str) -> Vec<Color>

Open an image in a path 'filepath' and store all it's pixels in a Vec of Colors.

Effectively this just converts the reading of an image by the image crate to a Color in the color_processing crate format.