normalize EXIF orientation

For consistent results and rendering, EXIF orientation that is built into many photos originating from mobile phones must be normalized before the crop is done.