jamesmontemagno / Xamarin.Plugins

Cross-platform Native API Access from Shared Code!
MIT License
1.3k stars 380 forks source link

Question - Media plugin #347

Closed Pinox closed 7 years ago

Pinox commented 7 years ago

Media Plugin ,

Is it possible to determine whether a picture was taken in Landscape or portrait mode. I want todo something like this : var image = ImageSource.FromStream(() => new MemoryStream(imageAsBytes)); if (image.Width > image.Height) { "This is Landscape mode" } Any pointers in the right directions would be appreciated.

jamesmontemagno commented 7 years ago

Not currently no, you would need to load up the images natively to see or load up exif data from each and calculate on there.