Skip to content

cyancor/pdf-compare

Repository files navigation

PDFCompare for .NET

Compares two PDF files in C# using ImageMagick.

var pdfCompare = new PdfCompare
{
    Reference = "./Assets/Reference.pdf",
    Comparison = "./Assets/Comparison.pdf",
    Masks = [ new MaskImage(Path: "./Assets/Reference.page-3.mask.png", PageNumber: 2) ]
};

pdfCompare.Compare();

Requirements

On Linux and macOS the fontconfig library is used to read fonts. This needs to be installed on the system or container that is running Magick.NET. It might also be required to run fc-cache to update the font cache.

Ghostscript must be installed on the system. This is needed by ImageMagick to convert the PDF files into images.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages