murat f42059fc61 implement quiet mode and detailed image load diagnostics
- Add -q/--quiet flag to suppress terminal logs and swatches
- Use stbi_failure_reason() to print detailed decode errors
- Update JSON image path resolution to handle CLI flags correctly
2026-08-08 12:12:06 +03:00
2026-01-31 18:24:50 +03:00

ccolors

Small CLI tool to extract dominant color palettes from images.

Features

  • JPEG / PNG support
  • Terminal color preview
  • HEX output
  • JSON export
  • No external dependencies

Build

Linux / macOS

mkdir build
cd build
cmake ..
make

Usage

./ccolors image.jpg

Output

  • Prints color swatches + hex
  • Writes palette.json

Dependencies

  • stb_image.h (included)

License

MIT

S
Description
No description provided
Readme
203 KiB
Languages
C 98.2%
C++ 1.8%