Scan, crop, and rotate correctly photos with a scanner