This project was created to enable PDF creation on .NETStandard 2.1, .NET 6 & .NET 7. This because multiple libraries did not suit my purpose of working on .NET Core & .NET Framework the same way. Some alternatives supported settings the different boxes (Media, Crop, Bleed & Trim) but did not fully supported images on all platforms. Others supported images but not the different boxes, and again others did not work at all on .NET Core.
Because of those reasons this libary was created.
This project is licensed under MIT license.
This library was created using the specifications lay out in "ISO 32000-2:2020 (PDF 2.0)".
Unlike most PDF libraries this library does not create the entire PDF model in memory before writing the PDF to a (file)stream.
To place the images this library makes use of SixLabors/ImageSharp. All images that are placed in the PDF will be saved internally as a JPG file.
The sample project called Synercoding.FileFormats.Pdf.ConsoleTester uses multiple images. Those images were taken from:
- Pexels.com and are licensed under the Pexels License
- FreePngImg.com and are licensed under Creative Commons (CC BY-NC 4.0)