A program that reconstructs an image from a palette using the error diffusion method.
- OpenCV4
sudo apt install libopencv-dev
make
sudo make install
pied [input image file name] [output image file name] [palette image file name]
The palette image is 1px high and wide. color_palette.png
is it.