Mac OS X
Components Crossplatform Mac & Win Server Client Old Guides Examples
New in version: 7.1 7.2 7.3 7.4 7.5 8.0 8.1 8.2 8.3 8.4 Statistic
Shows differences on two PDF pages by adding highlight annotations.
|Component||Version||macOS||Windows||Server||FileMaker Cloud||FileMaker iOS SDK|
|The PDF reference returned from DynaPDF.New.|
|pageIndex1||The page index in first PDF context.||1|
|OtherPDF||The other PDF reference. Can be same as PDF parameter, but allows you to use PDF imported in other PDF context.||$pdf2|
|pageIndex2||The page index in second PDF context.||1|
Whether to check for moving parts, e.g. the big part of the page shifted up one line. Default is zero.
Default is 65535 for yellow (Full red and green).
Scale of the raster.
Default is to compare at 72dpi.
If you pass 2 here, we use 144dpi.
The tolerance for color comparison.
Colors where red, green or blue components are within given tolerance are considered equal. So FFFFFF and FFFFFD are equal.
Default is 3.
Whether to write debug images to temp folder.
If 1, we write png files to temp folder. One image is before the check, one with all similar lines removed and one with result of comparison. Red pixels show you the raster, green equal pixels.
Returns number of annotations or error.
DescriptionShows differences on two PDF pages by adding highlight annotations.
Returns OK on success which means that highlight annotations have been added to both pages.
You can than render a page to show differences to user.
Requires a DynaPDF Pro license. Without a license, the DynaPDF watermark will reduce the accuracy.
Created 22nd September 2015, last changed 23th July 2016
Feedback: Report problem or ask question.
MBS Xojo blog