Crates.io | vibrant |
lib.rs | vibrant |
version | 0.1.0 |
source | src |
created_at | 2015-09-25 12:38:43.868894 |
updated_at | 2015-12-11 23:59:34.806356 |
description | Extract vibrant colors from an image file. Can be used as a library, but also contains a simple executable. |
homepage | https://github.com/killercup/vibrant-rs.git |
repository | https://github.com/killercup/vibrant-rs.git |
max_upload_size | |
id | 3105 |
size | 224,320 |
Extract vibrant colors from an image file. Can be used as a library, but also contains a simple executable.
$ curl https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg/687px-Mona_Lisa%2C_by_Leonardo_da_Vinci%2C_from_C2RMF_retouched.jpg > mona.jpg
$ cargo run --bin primary -- ./mona.jpg
Color Palette { #4D4D4D, #DFBB62, #A87B3A, #0F071C, #4E4141, #814F27, #512A22, #251629, #2C161E, #777B57 }
$ cargo run --bin vibrancy -- ./mona.jpg
Vibrant Colors {
Primary Vibrant Color: #C3973F
Dark Vibrant Color: #703C12
Light Vibrant Color: #FEE087
Muted Color: #A49F5C
Dark Muted Color: #55362C
Light Muted Color: #B4B57E
}
MIT