code: public void setThumbnail(Image image, int page) throws PdfException, DocumentException {
          stamper.setThumbnail(image, page);
      }
docs: Sets the thumbnail image for a page.
  @param image the image
  @param page the page
  @throws PdfException on error
  @throws DocumentException on error