blenderskool / pigmnts

🎨 Color palette generator from an image using WebAssesmbly and Rust
https://pigmnts.web.app
MIT License
73 stars 4 forks source link

Pigmnts CLI 0.1.0 #14

Closed blenderskool closed 4 years ago

blenderskool commented 4 years ago

Pigmnts CLI 0.1.0 :tada:

Pigmnts CLI uses the pigmnts library to create a color palette from an image right on the command line! It comes with various output modes and provides on-demand data of the palette generated while maintaining high speeds.

Output modes implemented in the CLI

Default mode

The default mode displays the palette in a user-friendly way with a small preview and corresponding color codes in a tabular structure.

Default mode CLI

Quiet (or Silent) mode

This mode displays only the essential output without the intermediate logs. The output is in plain text format with each data item separated by :

cli-q

Flags and options in the CLI

FLAGS:
    -d, --dominance    Enable dominance percentage of colors
    -h, --help         Prints help information
    -x, --hex          Enable Hex code output of colors
    -s, --hsl          Enable HSL output of colors
    -l, --lab          Enable L*AB output of colors
    -q, --quiet        Suppress the normal output [aliases: silent]
    -r, --rgb          Enable RGB output of colors
    -V, --version      Prints version information

OPTIONS:
    -c, --count <COUNT>...    Number of colors in the palette