docs: protected RenderedImage doFilter(BufferedImage pImage, ServletRequest pRequest, ImageServletResponse pResponse) {
          // Get crop coordinates
          int x = ServletUtil.getIntParameter(pRequest, PARAM_CROP_X, -1);
          int y = ServletUtil.getIntParameter(pRequest, PARAM_CROP_Y, -1);
          int width = ServletUtil.getIntParameter(pRequest, PARAM_CROP_WIDTH, -1);
          int height = ServletUtil.getIntParameter(pRequest, PARAM_CROP_HEIGHT, -1);
  
          boolean uniform =
                  ServletUtil.getBooleanParameter(pRequest, PARAM_CROP_UNIFORM, false);
  
          int units = getUnits(ServletUtil.getParameter(pRequest, PARAM_CROP_UNITS, null));
  
          // Get crop bounds
          Rectangle bounds =
                  getBounds(x, y, width, height, units, uniform, pImage);
  
          // Return cropped version
          return pImage.getSubimage((int) bounds.getX(), (int) bounds.getY(),
                                    (int) bounds.getWidth(),
                                    (int) bounds.getHeight());
          //return scaled.getSubimage(x, y, width, height);
      }