# 🎨 qtizer
command line quantization/palette-generation tool using k-means clustering on pixel data
- [features](#features)
- [usage](#usage)
- [example: palette creation in rgb format with alpha](#example-palette-creation-in-rgb-format-with-alpha-output-is-colored-accordingly-in-terminals)
- [example: image quantization to reduced palette](#example-image-quantization-to-reduced-palette-file-formats-inferred-based-on-extension)
- [installation](#installation)
## features
- hex and rgb formats
- output with color previews
- various supported file types
## usage
```
Usage: qtizer [OPTIONS] [output]
Arguments:
Input file path
[output] Output file path
Options:
-k Number of colors to quantize to [default: 8]
-n Number of k-means iterations to perform [default: 5]
-a, --with-alpha Include alpha channel
-s, --seed Optional RNG seed for reproducible results
-o, --output