iOS stores images in non rotated and save the rotation compared to the camera in exif data i believe.
When picking with the ImagePicker iOS handles the rotation in the image previews.
This is not taking into consideration when the lib delivers the images picked from gallery.
This seams to be a problem with all multi image pickers for xamarin.forms out there.
But serval people hinted that this one didn't have it, so here is a bug report.
if I'm using the lib. wrong or this is expected behaviour, then don't hesitate to close this again.
im trying to let a user pick some images and the phone uploads them to a server where they are used later.
Actual Behavior
After picking images in gallery and gotten the image with *.OpenReadAsync() they show as if they where all taken with the phone held at "90 deg. left"
Expected behavior
*.OpenReadAsync() returns a image with the expected orientation.
Steps to reproduce the behavior
take images holding the phone ex. upright or 90 deg right.
use MediaGallery.PickAsync to get them
use OpenReadAsync() to get bytes/stream
display image on screen.
Description
iOS stores images in non rotated and save the rotation compared to the camera in exif data i believe. When picking with the ImagePicker iOS handles the rotation in the image previews. This is not taking into consideration when the lib delivers the images picked from gallery.
This seams to be a problem with all multi image pickers for xamarin.forms out there. But serval people hinted that this one didn't have it, so here is a bug report.
if I'm using the lib. wrong or this is expected behaviour, then don't hesitate to close this again. im trying to let a user pick some images and the phone uploads them to a server where they are used later.
Actual Behavior
After picking images in gallery and gotten the image with *.OpenReadAsync() they show as if they where all taken with the phone held at "90 deg. left"
Expected behavior
*.OpenReadAsync() returns a image with the expected orientation.
Steps to reproduce the behavior
take images holding the phone ex. upright or 90 deg right. use MediaGallery.PickAsync to get them use OpenReadAsync() to get bytes/stream display image on screen.
Screenshots or Videos
Reproduction Link
Configuration