Use exif data to adjust image before resizing