PDF files compare

Hi there,

I’m trying to compare two PDF files to see if there are any differences. Can you please provide below answers?

  1. Does Aspose.PDF support PDF file comparisons?
  2. Can you please provide sample code to do this?

Also, upon googling, i did compare two identical PDFs using your online tool (Compare PDF | Online and Free | Aspose.PDF), but it is showing some differences for the same two files. I’m not sure how to read the output file with differences.

Here, i’m attaching the two identical PDFs with just name change.
myReport1.pdf (332.1 KB)
myReport2.pdf (332.1 KB)

@sanjaybk

Aspose.PDF does not support the PDF comparison feature. We logged this feature as PDFNET-38669 in our issue tracking system. However you can use document comparison API of GroupDocs, a venture of Aspose.

You may use Aspose.Words to compare PDF files. Hope this helps you.

@tahir.manzoor, okay thank you!