ZingPDF.OCR 1.0.49

dotnet add package ZingPDF.OCR --version 1.0.49
                    
NuGet\Install-Package ZingPDF.OCR -Version 1.0.49
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZingPDF.OCR" Version="1.0.49" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ZingPDF.OCR" Version="1.0.49" />
                    
Directory.Packages.props
<PackageReference Include="ZingPDF.OCR" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ZingPDF.OCR --version 1.0.49
                    
#r "nuget: ZingPDF.OCR, 1.0.49"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ZingPDF.OCR@1.0.49
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ZingPDF.OCR&version=1.0.49
                    
Install as a Cake Addin
#tool nuget:?package=ZingPDF.OCR&version=1.0.49
                    
Install as a Cake Tool

ZingPDF.OCR

ZingPDF.OCR adds OCR support for scanned and image-based PDF pages.

Use it when:

  • a PDF page has little or no embedded text
  • the page is primarily a scanned image
  • you want OCR as part of the main extraction workflow

Installation

dotnet add package ZingPDF.OCR

The built-in TesseractOcrEngine also needs Tesseract language data at runtime. See the official Tesseract documentation for setup details.

Quick start

using ZingPDF;
using ZingPDF.OCR;

using var pdf = Pdf.Load(File.OpenRead("scanned.pdf"));
var engine = new TesseractOcrEngine("./tessdata", "eng");

var text = await pdf.ExtractPlainTextWithOcrAsync(engine);

What it does

  • can prefer embedded PDF text or OCR depending on the selected options
  • works best on image-based pages
  • picks the largest image XObject on a page as the OCR candidate

Current limits

  • this package does not render arbitrary PDF drawing commands into an OCR image
  • OCR works on image-based pages and other pages with usable image XObjects
  • JPEG, JPEG 2000 passthrough, and common 8-bit RGB or grayscale image streams are the main supported inputs today
  • TesseractOcrEngine requires native Tesseract support and language data files at runtime
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.49 3 4/9/2026
1.0.48 76 4/7/2026
1.0.45 82 4/6/2026
1.0.44 84 4/6/2026
1.0.43 85 4/6/2026