TakuSemba / CropMe

Extremely Smooth and Easy Cropping library for you
Apache License 2.0
420 stars 74 forks source link

Image Orientation #15

Closed zohaibTheMobileDev closed 4 years ago

zohaibTheMobileDev commented 4 years ago

When i attach portrait image either from camera/gallery. into crop View it shows landscape image.... how to solve this ? tested on Samsung Galaxy s5.

TakuSemba commented 4 years ago

I believe this library does not control the orientation, so I guess you set a rotated image somehow. Can you check what happens if you set the same image into just a normal ImageView?

TakuSemba commented 4 years ago

I'm closing this because this happens when you set a rotated image into CropLayout. You have to check the rotation and rotate it if needed. This is not what the library does for you.