Image Paletter is a tool to recreate an image using only colors in a defined color palette.
./paletter colors.json in.png out.pngHere is an example palette json file and a visual.
{
"colors": ["e63946", "f1faee", "a8dadc", "457b9d", "1d3557"]
}Using this color palette these are the results.
Here is another demo.
{
"colors": ["2b2d42", "8d99ae", "edf2f4", "ef233c", "d90429"]
}- add support for dithering




