We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I would like to sample an images pixels in rgb, then convert those rgb values to the closest in my limited palette.
I have no idea how that would be done. Any suggestions anyone?
Iterate over all the pixels and compare their 3d distance from your colours. Chose the closest.