docs: private Rectangle2D getBounds(ServletRequest pReq, BufferedImage pImage,
                                    double pAng) {
          // Get dimensions of original image
          int width = pImage.getWidth(); // loads the image
          int height = pImage.getHeight();
  
          // Test if we want to crop image (default)
          // if true
          //  - find the largest bounding box INSIDE the rotated image,
          //    that matches the original proportions (nearest 90deg)
          //    (scale up to fit dimensions?)
          // else
          //  - find the smallest bounding box OUTSIDE the rotated image.
          //    - that matches the original proportions (nearest 90deg) ?
          //      (scale down to fit dimensions?)
          AffineTransform at =
                  AffineTransform.getRotateInstance(pAng, width / 2.0, height / 2.0);
  
          Rectangle2D orig = new Rectangle(width, height);
          Shape rotated = at.createTransformedShape(orig);
  
          if (ServletUtil.getBooleanParameter(pReq, PARAM_CROP, false)) {
              // TODO: Inside box
              return rotated.getBounds2D();
          }
          else {
              return rotated.getBounds2D();
          }
      }