I'm using Xamarin.Forms to take a photo which I take it vertically and I have a photo more or less like this:
This photo is a byte array and I save it in a SQL Server database, but when I show it it is rotated like this:
This only happens with iOS devices, with Android devices my image comes out as I take it.
How can I rotate the byte array [], 90 ° clockwise?
so that my image is inserted vertically and NOT horizontally?