int gdImageColorMatch (gdImagePtr im1,gdImagePtr im2)
Bring the palette colors in im2 to be closer to im1.