Hello!
I am trying to load an image in Xamarin Forms from the file system.
Currently I am encountering the following issues:
- Images above 4096 pixels in length or width do not display (too big for texture)
- Images are rotated by 90° when displayed on Samsung Galaxy S 5 (Android 5.0) and Samsung Galaxy S Plus (Android 4.4.4 Cyanogenmod) (issue doesn't apply to Genymotion Emulator)
---> the bottom of the image faces to the right
All images are saved correctly and display properly in the native image viewer. The correct image is displayed, but with the issues mentioned above.
The relevant Code currently in use is:
XAML:
XAML.CS:
img.Source = ImageSource.FromFile(images.ElementAt(index).path);
Does anybody have an idea how to fix this?
Any help would be much appreciated.
L.G.