render the image to match the style of the reference image