docs: public static List<BufferedImage> getImageList(File inputFile) throws IOException {
          // convert to TIFF if PDF
          File imageFile = getImageFile(inputFile);
  
          List<BufferedImage> biList = new ArrayList<BufferedImage>();
          String imageFormat = getImageFileFormat(imageFile);
  
          Iterator<ImageReader> readers = ImageIO.getImageReadersByFormatName(imageFormat);
          if (!readers.hasNext()) {
              throw new RuntimeException(JAI_IMAGE_READER_MESSAGE);
          }
          ImageReader reader = readers.next();
  
          try (ImageInputStream iis = ImageIO.createImageInputStream(imageFile)) {
              reader.setInput(iis);
  
              int imageTotal = reader.getNumImages(true);
  
              for (int i = 0; i < imageTotal; i++) {
                  BufferedImage bi = reader.read(i);
                  biList.add(bi);
              }
  
              return biList;
          } finally {
              if (reader != null) {
                  reader.dispose();
              }
  
              // delete temporary TIFF image for PDF
              if (imageFile != null && imageFile.exists() && imageFile != inputFile && imageFile.getName().startsWith("multipage") && imageFile.getName().endsWith(TIFF_EXT)) {
                  imageFile.delete();
              }
          }
      }