Sign inSign up

ealen/picolors

By ealen

Updated almost 7 years ago

Microservice/CLI to get prominent colors from an image

Image
0

5.4K

ealen/picolors repository overview

Picolors

GitHub issues GitHub Workflow Status David

Extract prominent colors from an image

Based on node-vibrant

Microservice

➜ docker run --rm -p 8080:80 ealen/picolors web
HTTP Server Started
➜ curl localhost:8080/?s=https://picsum.photos/id/274/200/300
{ color: '#444cc0', textColor: '#fff' }

CLI

# URL
➜ docker run --rm ealen/picolors https://picsum.photos/id/274/200/300
{ color: '#444cc0', textColor: '#fff' }

# File
➜ docker run --rm --read-only -v $PWD:/home picolors:latest /home/test.jpg
{ color: '#4294eb', textColor: '#fff' }

Tag summary

Content type

Image

Digest

Size

23.3 MB

Last updated

almost 7 years ago

docker pull ealen/picolors