public CropResult getCropInfo() {
        if (isGestureInProgess) {
            return CropResult.GestureFailure();
        }

        CropInfo info = mImageView.getCropInfo();
        if (info != null) {
            return CropResult.success(info);
        }

        return CropResult.error();
    }
Crop bitmap in sync
@return {@link BitmapResult} may contain null bitmap if it's not a success. If this method is called when
user is still using the gesture (scrolling, panning, etc), it would return result with state FAILURE_GESTURE_IN_PROCESS
@throws OutOfMemoryError
nocropper/src/main/java/com/fenchtose/nocropper/CropperView.java