Package com.itextpdf.io.util
Class ImageMagickCompareResult
- java.lang.Object
-
- com.itextpdf.io.util.ImageMagickCompareResult
-
public final class ImageMagickCompareResult extends java.lang.Object
A helper data class, which aggregates true/false result of ImageMagick comparing as well as the number of different pixels.
-
-
Field Summary
Fields Modifier and Type Field Description private long
diffPixels
private boolean
result
-
Constructor Summary
Constructors Constructor Description ImageMagickCompareResult(boolean result, long diffPixels)
Creates an instance that contains ImageMagick comparing result information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getDiffPixels()
Getter for a different pixels count.boolean
isComparingResultSuccessful()
Returns image compare boolean value.
-