![]() |
VOOZH | about |
FieldCure.DocumentParsers 2.0.0
Additional DetailsReplaced by FieldCure.DocumentParsers 2.0 (PDF text) + FieldCure.DocumentParsers.Imaging 1.0 (page rendering). See the 2.0.0 release notes for migration.
dotnet add package FieldCure.DocumentParsers.Pdf --version 1.1.0
NuGet\Install-Package FieldCure.DocumentParsers.Pdf -Version 1.1.0
<PackageReference Include="FieldCure.DocumentParsers.Pdf" Version="1.1.0" />
<PackageVersion Include="FieldCure.DocumentParsers.Pdf" Version="1.1.0" />Directory.Packages.props
<PackageReference Include="FieldCure.DocumentParsers.Pdf" />Project file
paket add FieldCure.DocumentParsers.Pdf --version 1.1.0
#r "nuget: FieldCure.DocumentParsers.Pdf, 1.1.0"
#:package FieldCure.DocumentParsers.Pdf@1.1.0
#addin nuget:?package=FieldCure.DocumentParsers.Pdf&version=1.1.0Install as a Cake Addin
#tool nuget:?package=FieldCure.DocumentParsers.Pdf&version=1.1.0Install as a Cake Tool
PDF text extraction and page image rendering — an extension package for FieldCure.DocumentParsers.
## Page {n} headersExtractText and ExtractImages for PDFDocumentParserFactorydotnet add package FieldCure.DocumentParsers.Pdf
using FieldCure.DocumentParsers;
using FieldCure.DocumentParsers.Pdf;
// Register PDF support (call once at startup)
DocumentParserFactoryExtensions.AddPdfSupport();
// Text extraction
var parser = DocumentParserFactory.GetParser(".pdf");
var text = parser!.ExtractText(File.ReadAllBytes("document.pdf"));
// Page image rendering
var mediaParser = (IMediaDocumentParser)parser;
var images = mediaParser.ExtractImages(File.ReadAllBytes("document.pdf"), dpi: 150);
foreach (var img in images)
File.WriteAllBytes($"{img.Label}.png", img.Data);
IDocumentParser interfaceMIT — 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 was computed. 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.Pdf:
| Package | Downloads |
|---|---|
|
FieldCure.DocumentParsers.Pdf.Ocr
Tesseract OCR fallback for scanned PDFs in FieldCure.DocumentParsers.Pdf |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated | |
|---|---|---|---|
| 1.1.0 | 192 | 4/8/2026 | 1.1.0 is deprecated because it is no longer maintained. |
| 1.0.0 | 147 | 4/6/2026 | 1.0.0 is deprecated because it is no longer maintained. |
| 0.2.0 | 150 | 3/27/2026 | 0.2.0 is deprecated because it is no longer maintained. |
| 0.1.0 | 121 | 3/26/2026 | 0.1.0 is deprecated because it is no longer maintained. |
# Release Notes — FieldCure.DocumentParsers.Pdf
## [1.1.0] - 2026-04-08
### Added
- `IOcrEngine` interface for pluggable OCR engines
- `PdfParser(IOcrEngine)` constructor overload with OCR fallback for scanned pages
- `AddPdfSupport(IOcrEngine)` factory registration overload
- Pages with < 5% meaningful text are automatically rendered at 300 DPI and sent to OCR
### Note
Backward compatible — existing parameterless constructor and `AddPdfSupport()` unchanged.
## [1.0.0] - 2026-04-06
### Note
First stable release, aligned with FieldCure.DocumentParsers 1.0.0.
No API changes from 0.2.0 — public surface (`PdfParser`, `AddPdfSupport()`) is now committed as stable.
## [0.2.0] - 2026-03-27
### Added
- Unit test project (`DocumentParsers.Pdf.Tests`) with 11 tests covering text extraction, page headers, content ordering, and image rendering
- Higher DPI rendering test (`ExtractImages_HigherDpiProducesLargerImage`)
### Changed
- Migrated to independent repository (fieldcure/fieldcure-document-parsers)
- `RepositoryUrl` updated to `https://github.com/fieldcure/fieldcure-document-parsers`
## [0.1.0] - 2026-03-25
### Added
- `PdfParser` — PDF text extraction via PdfPig with `## Page {n}` page headers
- `PdfParser.ExtractImages` — PDF page rendering to PNG via PDFtoImage (PDFium)
- `IMediaDocumentParser` support for combined text + image extraction
- `DocumentParserFactoryExtensions.AddPdfSupport()` — one-line factory registration
- Extracted from AssistStudio.Core to enable independent package consumption