docs: public static File deskewImage(File imageFile, double minimumDeskewThreshold) throws IOException {
          List<BufferedImage> imageList = getImageList(imageFile);
          for (int i = 0; i < imageList.size(); i++) {
              BufferedImage bi = imageList.get(i);
              ImageDeskew deskew = new ImageDeskew(bi);
              double imageSkewAngle = deskew.getSkewAngle();
  
              if ((imageSkewAngle > minimumDeskewThreshold || imageSkewAngle < -(minimumDeskewThreshold))) {
                  bi = ImageUtil.rotate(bi, -imageSkewAngle, bi.getWidth() / 2, bi.getHeight() / 2);
                  imageList.set(i, bi); // replace original with deskewed image
              }
          }
  
          File tempImageFile = File.createTempFile(FilenameUtils.getBaseName(imageFile.getName()), ".tif");
          mergeTiff(imageList.toArray(new BufferedImage[0]), tempImageFile);
  
          return tempImageFile;
      }