rotateExifOrientation Function
PxOrientation rotateExifOrientation(PxOrientation orientation, int steps);
References: PxOrientation
Rotates an EXIF orientation by a number of 90-degree steps.
Parameters
- orientation — The EXIF orientation to rotate.
- steps — The number of 90-degree steps to rotate by (negative rotates the other way).
Return Value
The resulting EXIF orientation.