#color-palette #palette #color #sha-3 #generate #img-hash

bin+lib palette-arcade

Generates a SHA3-512 hash and color palette for images

9 stable releases

1.4.5 Feb 11, 2021
1.2.6 Jan 21, 2021
1.1.4 Dec 27, 2020
1.1.0 Nov 22, 2020
0.1.0 Aug 8, 2020

#9 in #sha3

29 downloads per month

Unlicense/MIT

75KB
364 lines

Crate color-thief is a CLI application that generates a SHA3-512 hash and a color palette for a provided image file and stores both in a sqlite database.

To install the application, first ensure that ImageMagick is installed on your machine. Then run:

cargo install color-thief

Example

To generate a color palette for a single image:

color-thief fetch path/to/image.jpg

To generate color palettes for a directory (including all subdirectories):

color-thief scan path/to/directory

Dependencies

~15–26MB
~294K SLoC