0

Apart from doing pdf compare using acrobat pdf compare and inet software tool is their any free libraries to do comparing the two pdf's and save the difference by highlighting in a new pdf. Is it possible? I not yet started the coding before starting I have few clarifications to do get the idea from your experts to guide me how to obtain/reach my requirement. I had a few uncleared plans to use C# and third party libraries. Please suggest your idea/guide for obtain this task.

Compare types are text and visual compare.

Program type c# Library plan to use is itextsharp/pdfbox

newbeee
  • 75
  • 1
  • 12
  • I doubt this is even possible as PDF are binary files that are quite hard to compare. However even if you *could* compare them, what would it mean to you if `ksdfn,ss,a,msdn,` is different from `masdnkmak/&T(ZUI/`? It could mean so much: different font used, different spacing, even different characters printed or just different colour. – MakePeaceGreatAgain Sep 13 '16 at 10:22
  • 2
    Take a look at iText's tests to see how we compare pdf files as part of the test suite. – Amedee Van Gasse Sep 13 '16 at 10:26
  • Thanks for the suggestion, now I will look out the itext about the possibilities. – newbeee Sep 13 '16 at 10:52
  • @ HimBromBeere, Will see I will trying the itext. let me check and update if I found the action and solution. – newbeee Sep 13 '16 at 10:54

1 Answers1

2

@newbee, please refer this link quite useful for the concepts.

How to compare two PDFs based on visual differences programmatically?

Community
  • 1
  • 1
Nachiappan R
  • 182
  • 1
  • 1
  • 20