OfficeIMO.DjVu.Pdf
3.4.5
Prefix Reserved
dotnet add package OfficeIMO.DjVu.Pdf --version 3.4.5
NuGet\Install-Package OfficeIMO.DjVu.Pdf -Version 3.4.5
<PackageReference Include="OfficeIMO.DjVu.Pdf" Version="3.4.5" />
<PackageVersion Include="OfficeIMO.DjVu.Pdf" Version="3.4.5" />
<PackageReference Include="OfficeIMO.DjVu.Pdf" />
paket add OfficeIMO.DjVu.Pdf --version 3.4.5
#r "nuget: OfficeIMO.DjVu.Pdf, 3.4.5"
#:package OfficeIMO.DjVu.Pdf@3.4.5
#addin nuget:?package=OfficeIMO.DjVu.Pdf&version=3.4.5
#tool nuget:?package=OfficeIMO.DjVu.Pdf&version=3.4.5
OfficeIMO.DjVu.Pdf
Convert scanned DjVu pages into PDFs with source physical size, display rotation, a searchable stored-text layer, and supported outline navigation. This adapter uses OfficeIMO.DjVu and OfficeIMO.Pdf in process.
<ProjectReference Include="../OfficeIMO/OfficeIMO.DjVu.Pdf/OfficeIMO.DjVu.Pdf.csproj" />
using OfficeIMO.DjVu;
using OfficeIMO.DjVu.Pdf;
var document = DjVuDocument.Load("book.djvu");
var result = document.ToPdfDocumentResult(new DjVuToPdfOptions {
PageNumbers = new[] { 2, 1 }
});
var saved = result.Save("selected.pdf");
ToPdfBytes, SaveAsPdf, and asynchronous equivalents share the same conversion. Native DPI is the default. Lower render DPI is an explicit reported approximation; physical page size still comes from the source. The PDF retains scanned pixels rather than reconstructing editable paragraphs or source typography.
The result carries a DjVuPdfConversionReport alongside PDF-stage reports. Per-page evidence records source/output page numbers, original text status, StoredText/Ocr/None provenance, pixel size, physical size, and embedded character count. Conversion reports distinguish omitted annotations, corrupt text, unsupported navigation targets, approximate geometry, and render qualifications. Use the existing result/report RequireNoLoss() gate when reported loss is unacceptable.
For OCR, supply an existing IOcrEngine through DjVuToPdfOptions.OcrEngine and call an asynchronous entrypoint. Only selected pages with Absent or Empty stored text are recognized. Present text is reused and corrupt text remains a diagnostic. OCR uses the existing Reader execution limits and records new provider/model/confidence evidence; text without usable provider geometry is reported and not placed into an invented searchable rectangle. OfficeIMO does not install an OCR engine.
Options bound selected pages, decoded image pixels and working memory, individual and aggregate PNG bytes, searchable spans and characters, and serialized PDF bytes. Stream output stays open; seekable output is replaced and rewound. Serialization failure can leave partial output. The shared djvu-pdf workflow stages, reopens, and publishes output atomically, and retains combined source/PDF diagnostics. Workflow OCR remains a separate explicit operation.
See the native support matrix for exact codecs and independent qualification.
Generated capability summary
This table is generated from the package-neutral OfficeIMO operation catalog. The detailed source contracts remain authoritative for feature-level behavior and limitations.
| Operation | Supported | Partial | Preserved | Rejected | Unsupported | Not applicable |
|---|---|---|---|---|---|---|
| Convert | 0 | 1 | 0 | 0 | 0 | 0 |
The complete rows for OfficeIMO.DjVu.Pdf are published in the generated operation contract.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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 is compatible. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.DjVu (>= 3.4.5)
- OfficeIMO.Pdf (>= 3.4.5)
- OfficeIMO.Pdf.Ocr (>= 3.4.5)
- OfficeIMO.Reader.DjVu (>= 3.4.5)
- OfficeIMO.Reader.Ocr (>= 3.4.5)
-
.NETStandard 2.0
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.DjVu (>= 3.4.5)
- OfficeIMO.Pdf (>= 3.4.5)
- OfficeIMO.Pdf.Ocr (>= 3.4.5)
- OfficeIMO.Reader.DjVu (>= 3.4.5)
- OfficeIMO.Reader.Ocr (>= 3.4.5)
-
net10.0
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.DjVu (>= 3.4.5)
- OfficeIMO.Pdf (>= 3.4.5)
- OfficeIMO.Pdf.Ocr (>= 3.4.5)
- OfficeIMO.Reader.DjVu (>= 3.4.5)
- OfficeIMO.Reader.Ocr (>= 3.4.5)
-
net8.0
- OfficeIMO.Core (>= 3.4.5)
- OfficeIMO.DjVu (>= 3.4.5)
- OfficeIMO.Pdf (>= 3.4.5)
- OfficeIMO.Pdf.Ocr (>= 3.4.5)
- OfficeIMO.Reader.DjVu (>= 3.4.5)
- OfficeIMO.Reader.Ocr (>= 3.4.5)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on OfficeIMO.DjVu.Pdf:
| Package | Downloads |
|---|---|
|
OfficeIMO.Workflows
Typed local document workflows that compose first-party OfficeIMO conversion, PDF, and provenance capabilities. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 3.4.5 | 502 | 10/10/2026 |