Description
Do you want to request a feature or report a bug?
Bug when crop long image
What is the current behavior?
When crop a long image, if the finger zooms the picture, the picture will not return to the size of the crop box, and x must be > = 0 exception occurs when pressing crop
What is the expected behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Crop any long image, zoom the image first, and then crop it. It will appear error x must be > = 0
Please attach any image files, URL and stack trace
that can be used to reproduce the bug.
if (shouldCrop) {
saveImage(Bitmap.createBitmap(mViewBitmap, cropOffsetX, cropOffsetY, mCroppedImageWidth, mCroppedImageHeight));
if (mCompressFormat.equals(Bitmap.CompressFormat.JPEG)) {
copyExifForOutputFile(context);
}
return true;
}
Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop?
Any version will appear