Skip to content

killercup/vibrant-rs

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Extract vibrant colors from an image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages