Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 548 Bytes

README.md

File metadata and controls

30 lines (19 loc) · 548 Bytes

Color Quant

A Python library for quantizing the colors in an image.

It uses k-means clustering for image quantization.

Usage

python get_colors.py -k <n_clusters>

or

from get_colors import get_colors
color_weights = get_colors(4)

Developing

Dependencies