Posts Auto Rotates Images Picasso
Post
Cancel

Auto Rotates Images Picasso

Today I found one problem in Picasso. Which is if the EXIF data is greater than 3264 x 2448 is found the picasso automatically rotates the Image 90 degree anticlockwise.

So I used the library named Glide by bumptech.

To use glide first we need to add the dependencies to the app level gradle.

Dependencies of Glide

1
2
implementation "com.github.bumptech.glide:glide:4.11.0"
annotationProcessor "com.github.bumptech.glide:compiler:4.11.0"

How to use Glide

1
Glide.with(context).load(pathToUri).into(yourView)

GitHub issue report

Stackoverflow

This post is licensed under CC BY 4.0 by the author.