rework convert_image to use load_image