![]() |
VOOZH | about |
dotnet add package FieldCure.DocumentParsers.Imaging --version 1.0.0
NuGet\Install-Package FieldCure.DocumentParsers.Imaging -Version 1.0.0
<PackageReference Include="FieldCure.DocumentParsers.Imaging" Version="1.0.0" />
<PackageVersion Include="FieldCure.DocumentParsers.Imaging" Version="1.0.0" />Directory.Packages.props
<PackageReference Include="FieldCure.DocumentParsers.Imaging" />Project file
paket add FieldCure.DocumentParsers.Imaging --version 1.0.0
#r "nuget: FieldCure.DocumentParsers.Imaging, 1.0.0"
#:package FieldCure.DocumentParsers.Imaging@1.0.0
#addin nuget:?package=FieldCure.DocumentParsers.Imaging&version=1.0.0Install as a Cake Addin
#tool nuget:?package=FieldCure.DocumentParsers.Imaging&version=1.0.0Install as a Cake Tool
PDF page image rendering — extension for FieldCure.DocumentParsers.
Core DocumentParsers v2.0 ships with pure-managed PDF text extraction (PdfPig). This package adds page image rendering via PDFtoImage (PDFium native) — useful for vision models, thumbnails, or feeding OCR engines.
dotnet add package FieldCure.DocumentParsers.Imaging
using FieldCure.DocumentParsers;
using FieldCure.DocumentParsers.Imaging;
// Registers PdfImageRenderer, upgrading the factory's .pdf entry
// from text-only PdfParser to a full IMediaDocumentParser.
DocumentParserFactoryImagingExtensions.AddImagingSupport();
var parser = (IMediaDocumentParser)DocumentParserFactory.GetParser(".pdf")!;
// Text extraction (same pipeline as the core package — no regression).
var text = parser.ExtractText(File.ReadAllBytes("document.pdf"));
// Page rendering (new capability).
var images = parser.ExtractImages(File.ReadAllBytes("document.pdf"), dpi: 150);
foreach (var img in images)
File.WriteAllBytes($"{img.Label}.png", img.Data);
PDFium binaries are bundled via the PDFtoImage package (Windows/Linux/macOS).
For pure managed deployments or environments where native PDFium cannot load,
use the core FieldCure.DocumentParsers package directly — text extraction
does not require this package.
MIT — Copyright (c) 2026 FieldCure Co., Ltd.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on FieldCure.DocumentParsers.Imaging:
| Package | Downloads |
|---|---|
|
FieldCure.DocumentParsers.Ocr
Tesseract OCR fallback for scanned PDFs on Windows. Plugs into FieldCure.DocumentParsers as an IDocumentParser for .pdf that renders pages with PDFium and recognizes text with Tesseract when PdfPig yields no content. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 305 | 4/20/2026 |
v1.0.0 — Initial release. Splits page image rendering out of the legacy FieldCure.DocumentParsers.Pdf package. `PdfImageRenderer : IMediaDocumentParser` renders PDF pages via PDFium (PDFtoImage); `ExtractText` delegates to the core `PdfParser` so registration is additive. Use `DocumentParserFactoryImagingExtensions.AddImagingSupport()`.