ArthurHub / Android-Image-Cropper

Image Cropping Library for Android, optimized for Camera / Gallery.
Apache License 2.0
6.38k stars 1.34k forks source link

getAspectRatio returns 1 no matter what #759

Open edvinfernqvist opened 4 years ago

edvinfernqvist commented 4 years ago

I'm using the library in my own activity and I can crop and save the image no problem. After I save the image I want to get the cropped dimensions so I use getAspectRatio(). Both .first and .second returns 1 no matter how I crop the image or how the image look from the beginning from the camera...

Canato commented 3 years ago

Hey!

I start a new project to handover this library https://github.com/CanHub/Android-Image-Cropper

The ideia is that we keep improving because this project don’t have updates since 2018 Hope I can count with your help.

Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract