jayrambhia / CropperNoCropper

Instagram Style Image Cropper for Android (Library)
http://www.jayrambhia.com/project/nocropper-library
Apache License 2.0
475 stars 99 forks source link

Not works when the image leaves the border of CropperView #4

Closed tahirSmartboy closed 8 years ago

tahirSmartboy commented 8 years ago

When we zoom the image in the CropperView and moves the image ...the image in the CropperView leaves the border and after this if we crop the image it gives this error....

java.lang.IllegalArgumentException: x + width must be <= bitmap.width()

jayrambhia commented 8 years ago

@tahirSmartboy Have you set any max zoom? Also, could you provide me the image dimensions? It would be very easy to reproduce and debug.

tahirSmartboy commented 8 years ago

No I haven’t set any max zoom ...

screenshot_2015-11-30-20-53-54 screenshot_2015-11-30-20-54-47

![Uploading Screenshot_2015-11-30-20-55-21.png…]()

these are the screenshots...

Dimes are : 960x1280

jaumecolom commented 8 years ago

It's happening the same to me, how can we solve it? Thanks

jayrambhia commented 8 years ago

yeah, I'm working on it.