red6 / pdfcompare

A simple Java library to compare two PDF files
Apache License 2.0
220 stars 66 forks source link

Output PDF wtih data from 2nd pdf only mark in red color #88

Closed geekyzan closed 3 years ago

geekyzan commented 3 years ago

Hey red6 :), I want an output pdf that shows the difference from the 2nd file only i.e the different mark as red color(no data from 1st pdf).In which method I have to do those changes so that only the difference from 2nd pdf will be printed in the output pdf. (Note: I have attached my output which shows overlapping text in the output, and I want only red highlighted text only) issue1

finsterwalder commented 3 years ago

Hi geekyzan,

the easiest thing you can try right now is, to change the color for actual changes to black (or whatever suites you): actualColor=000000

finsterwalder commented 3 years ago

You probably need to set expectedColor, but you get the idea.

finsterwalder commented 3 years ago

Did that solve your problem?