convert the given image to the format 4 5