Version Number of Plugin: 3.1.3 (Stable)
Device Tested On: IPhone 6, Motorola G5S+
Simulator Tested On: NA
Version of VS: VS 2015, VS Mac
Version of Xamarin: 4.8.0.756
Versions of other things you are using: NA
Take Photo from IPhone camera and save binary in DB
If you open same binary in Image View on Iphone, it shows correct image
But If you open same image binary in Android device, it shows left side rotated image
Image should show without rotation.
Image shows rotated on android device
var file = await CrossMedia.Current.TakePhotoAsync(new Plugin.Media.Abstractions.StoreCameraMediaOptions
{
SaveToAlbum = false,
CompressionQuality = 90,
PhotoSize = PhotoSize.Medium,
RotateImage = false,
});
Image on Iphone (Taken on Iphone) ->

Image on Android (taken on Iphone) ->

If I try to read EXIF, it gives TopRight. It should be TopLeft
using (var stream = file.GetStream())
{
var photoinfo = ExifLib.ExifReader.ReadJpeg(stream);
ExifLib.ExifOrientation orientation = photoinfo.Orientation;
}
Is there a way I can update, EXIF for this image file.
Use: GetStreamWithImageRotatedForExternalStorage
Most helpful comment
Use: GetStreamWithImageRotatedForExternalStorage