public CropInfo rotate90XTimes(int bitmapWidth, int bitmapHeight, int times) {
        int rotate = times%4;
        if (rotate == 0) {
            return this;
        }

        CropInfo info = this;
        for (int i=0; i<rotate; i++) {
            int width = i%2 == 1 ? bitmapHeight : bitmapWidth;
            info = info.rotate90(width);
        }
        return info;
    }
Get CropInfo if you want to crop un-rotated/original bitmap.

Use case: User rotates bitmap to 90 degrees and crops. You want to apply this crop to the original (un-rotated)
bitmap, you can use this method with times = 1, bitmapWidth = width of the rotated bitmap (which is height of the original bitmap),
bitmapHeight = height of the rotated bitmap (which is width of the original bitmap).

Use times = 2 for 180 degrees and times = 3 for 270 degrees.

@param bitmapWidth - width of rotated bitmap.
@param bitmapHeight - height of rotated bitmap.
@param times - number of times the bitmap has been rotated by 90 degrees clockwise.
@return projected {@link CropInfo} which can be used to crop the original image with same bounds.
nocropper/src/main/java/com/fenchtose/nocropper/CropInfo.java