Skip to content

Releases: ANcpLua/CreatePdf.NET

v2.0.0 - Multi-Framework Support

12 Jul 17:43
8aba6dc

Choose a tag to compare

What's New in v2.0.0

Multi-Framework Support

  • Added support for .NET 8.0 (LTS)
  • Added support for .NET 9.0

Improvements

  • Better Output Directory: PDFs now save to project root /output folder instead of deep bin directories
  • Enhanced Path Handling: Improved cross-platform file path sanitization using regex

Installation

dotnet add package CreatePdf.NET --version 2.0.0

Breaking Changes

None

Requirements

  • .NET 8.0, 9.0, or 10.0 SDK
  • Optional: Ghostscript and Tesseract for OCR functionality

CreatePdf.NET v1.1.0

12 Jul 08:45

Choose a tag to compare

Stream-based PDF Processing

  • Added Pdf.Load(stream)
  • Returns a PdfReader instance
  • Perfect for integrating with cloud storage, APIs, or distributed systems

Example Usage

// Basic OCR with default settings
await Pdf.Load(pdfStream).OcrAsync();

// Custom OCR settings for individual needs
await Pdf.Load(pdfStream).OcrAsync(new OcrOptions
{
  Dpi = 600,          
  PageSegmentationMode = 3
});

**Full Changelog**: https://github.com/ANcpLua/CreatePdf.NET/compare/v1.0.4...v1.1.0

CreatePdf.NET v1.0.4

11 Jul 12:18
94e2f16

Choose a tag to compare

Improved OCR accuracy for bitmap text
Fixed auto-contrast for similar foreground/background colors

CreatePdf.NET v1.0.3

11 Jul 10:36

Choose a tag to compare