Convert an image to a DDS.