I am trying to let users select a profile picture from gallery. My issue is that some pictures come as rotated to the right.
I start the image picker like so:
<
Using Picasso:
Picasso.get().load("Your image path").into(Imageview);
Picasso.with(this) is now replaced with
Picasso.get()
Picasso library : https://github.com/square/picasso
Add : implementation 'com.squareup.picasso:picasso:2.71828' in build.gradle file
Picasso will take care of image auto-rotation .