Type | Name and description |
---|---|
static boolean |
compareAndHighlight(java.awt.image.BufferedImage img1, java.awt.image.BufferedImage img2, java.lang.String fileName, boolean highlight, int colorCode) This method compares and highlights the differences between two images |
static boolean |
comparePdfByImage(java.lang.String file1, java.lang.String file2, int startPage, int endPage) This method reads each page of a given doc, converts to image compare. |
static boolean |
convertToImageAndCompare(java.lang.String file1, java.lang.String file2, int startPage, int endPage) This method converts the PDF files to images then compares |
static java.util.List<java.lang.String> |
extractimages(java.lang.String file, int startPage, int endPage) This method extracts all the embedded images of the pdf document |
static java.util.List<java.lang.String> |
saveAsImage(java.lang.String file, int startPage, int endPage) This method saves the each page of the pdf as image |
static void |
saveImage(java.awt.image.BufferedImage image, java.lang.String file) This method saves the image |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
This method compares and highlights the differences between two images
This method reads each page of a given doc, converts to image compare. If it fails, exits immediately.
This method converts the PDF files to images then compares
This method extracts all the embedded images of the pdf document
This method saves the each page of the pdf as image
This method saves the image