For this use the configuration with property CONTINUOUS_COMPARE_TYPES.
As second value is expected
- CompareType.TEXT
- CompareType.LINE
- CompareType.IMAGE
For example
configuration.putValue( PDFCProperty.CONTINUOUS_COMPARE_TYPES, "" + CompareType.IMAGE );
showModifications( pdfComparer.setConfiguration( configuration ).compare( files[0], files[1] ) );
If needed two or more types, can this be do by add a comma and the next typs.
configuration.putValue( PDFCProperty.CONTINUOUS_COMPARE_TYPES, ""
+ CompareType.IMAGE +","
+ CompareType.TEXT);