scale_new_image_file: keep image orientation