produces a composite image from one image's values and another image's colors