single-machine large-scale calculation of dominant color solution
git clone https://github.com/zhengrenzhe/Palette.git
cargo run -- -c ./tests/example.json # calculate test images
cargo test
cargo test
open target/a.ppm # view png decode result (as ppm)
open target/b.ppm # view jpg decode result (as ppm)