function IEAutomaticallyRotateImageFile(const sFilename : string) : Integer;
Upmarket digital cameras will automatically store the correct orientation of an image when the camera is rotated to take a portrait photo. This function calls EXIF_Orientation
to retrieve the desired orientation for a JPEG camera image and then calls JpegLosslessTransform2
to losslessly rotate it.
If bConservativeChecking is true it performs some further checking to ensure the orientation data is accurate (e.g. to avoid problems where the photo has already been rotated in another program).
// Rotate MyImage.jpeg if it is not correctly oriented