[ad_1]
After I Seize a Picture with the next code , I get the saved picture rotated 90 diploma clockwise in Android and iOS
is there any answer for this difficulty? so I get the saved picture orientation adjusted correctly
FileResult picture = await MediaPicker.CapturePhotoAsync();
utilizing Stream sourceStream = await picture.OpenReadAsync();
var image = PlatformImage.FromStream(sourceStream);
string localFilePath = $"{FileSystem.CacheDirectory}/{picture.FileName}";
utilizing FileStream localFileStream = File.OpenWrite(localFilePath);
await image.SaveAsync(localFileStream, ImageFormat.Jpeg, high quality: 0.90f);
[ad_2]
