- Modified patch #142798 by Steven and sime: introduced a new image API function: image_scale_and_crop()