dzenbot/DZNPhotoPickerController

Landscape images

Opened this issue · 4 comments

When dealing with landscape images: Zoom max is not enough and, when you pan the image, it moves too far away, almost disappearing from screen.
With portrait images everything is fine.

Environment: iOS 9, my app works only in portrait, crop size = screen size

Thank you

Yeah, that's a long standing bug.

Any solution? It seems we need to calculate the space for photo to bounce. I'm surprised that the contacts app can do this easily but leaves so many to developers.

Right?! Me too.
I haven't had time or the need for my projects to implement this. Any contribution is very welcome!

Thanks for your great work. I find another repo that deals with it well, https://github.com/ruslanskorb/RSKImageCropper. But it has a lot of image process that looks a little big for DZNPhotoPickerController/Editor. So it depends on the use case to judge where to go.