Resize, crop and straighten images