com.itextpdf.text.pdf
Class CompareTool
java.lang.Object
com.itextpdf.text.pdf.CompareTool
public class CompareTool
- extends Object
Helper class for tests: uses ghostscript to compare PDFs at a pixel level.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompareTool
public CompareTool(String outPdf,
String cmpPdf)
compare
public String compare(String outPath,
String differenceImage)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
compare
public String compare(String outPdf,
String cmpPdf,
String outPath,
String differenceImage)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
Copyright © 2013. All Rights Reserved.