Skip to content

havocbcn/JoinPDF

Repository files navigation

JoinPDF

C# Code to join two PDF's in one using simple C#, without external libraries.

Supports any PDF version. but it needs more testing, use it at your own risk.

Usage:
JoinPDF joinPdf = new JoinPDF();            
byte[] joined = joinPdf.Join(
	File.ReadAllBytes("pdf1.pdf"), 
    File.ReadAllBytes("pdf2.pdf")
    );
Features
  • Support XRef and XRefStream (PDF >= 1.5). XRefStream only with deflate algorithm, additionally it supports the PNG up predictor.
  • Arrange and clean unused sections.
  • Fast.

About

C# Code to join two PDF's in one using simple C#, without external libraries.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages