Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

killercup/vibrant-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vibrant-rs

Extract vibrant colors from an image file. Can be used as a library, but also contains a simple executable.

Build Status Coverage Status

Getting Started

$ 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
}

License

MIT