I have three images; An "original" 16x16 image, a recoloured 16x16 image, and a 32x32 image which is basically the same as the original image, but with a higher resolution. What I want to do, is to obtain a 32x32 recoloured image; it should have the same colours as the recoloured 16x16 image.
In other words, if we call the images I have A, B and C, and the one I want to make D, D should be to C as B is to A. More precisely, I want to map all colours in the original 16x16 image to the colour at the same position in the recoloured 16x16 image, and apply the mapping to the 32x32 image.
Is there any way to do this? I usually use GIMP for image editing.