If an image has a height or width of 0 convert_image will fail