A program that reconstructs an image from a palette using the error diffusion method.
- OpenCV4
sudo apt install libopencv-devmake
sudo make installpied [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.