Reformat images.