Skip to content

zzzrst/ComparePDF

Repository files navigation

ComparePDF

This is a .Net 2.0 Standard Library. This directory contains the source code for the package ComparePDF. This program compares two different PDFs and see if they are identical. Uses software that runs on Windows 32 bit. Please refer to the [Documentation] (https://zzzrst.github.io/ComparePDF/) for more details on the implementation.

How to use

public class Compare()
{
    import ComparePDF;

    public static void Main(string[] args)
    {
        bool same;
        string pdfPath1 = "Page.pdf";
        string pdfPath2 = "Page.pdf";
        PDFComparer pDFComparer = new PDFComparer(pdfPath1, pdfPath2)
        same = ComparePDFText(pdfPath1, pdfPath2);
        Console.WriteLine(same);
        //true
        same = ComparePDFImages(pdfPath1, pdfPath2);
        Console.WriteLine(same);
        //true
    }
}

It will return true if the pdfs are the same, false otherwise.

Dependancies

Other Notes

Version number are labed as MAJOR.MINOR.dailyBuild.buildTime
Major changes are when new classes are added, except helper classes, or when a large change is made to the code such as a large functionality change.
Minor changes are when methods are added/removed or a helper class is added.

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages