image_colors

Crates.ioimage_colors
lib.rsimage_colors
version0.5.1
sourcesrc
created_at2017-09-03 22:57:37.065106
updated_at2018-03-02 22:49:55.951651
descriptionGet colors from an image. Optionally sort by most common.
homepagehttps://github.com/noahrinehart/image_colors
repositoryhttps://github.com/noahrinehart/image_colors
max_upload_size
id30434
size177,878
Noah Rinehart (noahrinehart)

documentation

README

image_colors Crates.io version shield Travis-CI build status

Get colors from an image. Optionally sort by most common.


Usage

Image Colors 0.4.3
Noah Rinehart <rinehart.noah@gmail.com>
Gets colors from an image. Optionally sort by most common.

USAGE:
    image_colors [FLAGS] [OPTIONS] [ARGS]

FLAGS:
    -c               Show colors in terminal
    -h, --help       Prints help information
    -r               Displays color in rgb instead of hex
    -V, --version    Prints version information

OPTIONS:
    -l, --delim <DELIMITER>    Sets output delimiter [default:  has a pixel count of: ]
    -d <DEPTH>                 Sets depth of search

ARGS:
    <PATH>          Path to the image
    <NUM_COLORS>    Number of colors to return

Example

Example pic

Commit count: 50

cargo fmt