OfficeIMO.DjVu 3.4.5

Prefix Reserved
dotnet add package OfficeIMO.DjVu --version 3.4.5
                    
NuGet\Install-Package OfficeIMO.DjVu -Version 3.4.5
                    
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="OfficeIMO.DjVu" Version="3.4.5" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeIMO.DjVu" Version="3.4.5" />
                    
Directory.Packages.props
<PackageReference Include="OfficeIMO.DjVu" />
                    
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 OfficeIMO.DjVu --version 3.4.5
                    
#r "nuget: OfficeIMO.DjVu, 3.4.5"
                    
#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 OfficeIMO.DjVu@3.4.5
                    
#: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=OfficeIMO.DjVu&version=3.4.5
                    
Install as a Cake Addin
#tool nuget:?package=OfficeIMO.DjVu&version=3.4.5
                    
Install as a Cake Tool

OfficeIMO.DjVu

Read .djvu and .djv scanned documents, reuse stored text, and render pages with managed OfficeIMO codecs. No external decoder, native library, or executable is required. PDF export and Reader ingestion live in separate adapter packages.

Reference the owning project from a source checkout:

<ProjectReference Include="../OfficeIMO/OfficeIMO.DjVu/OfficeIMO.DjVu.csproj" />
using OfficeIMO.DjVu;

var document = DjVuDocument.Load("book.djvu");
var page = document.Pages[0];
var stored = page.GetText();
Console.WriteLine($"{page.Number}: {stored.Status}");
Console.WriteLine(stored.Text);

var rendered = page.Render(new DjVuRenderOptions { Dpi = 150 });
// rendered.Image is an owned OfficeRasterImage; use Core's image encoder to save it.
foreach (var diagnostic in rendered.FidelityDiagnostics)
    Console.WriteLine(diagnostic.Message);

Pages keeps source order. Page selection in adapters uses one-based source numbers. Text states are Absent, Empty, Present, and Corrupt; a malformed layer is reported separately from missing text. Zone byte offsets refer to the original UTF-8 text, while character offsets refer to the returned .NET string. Native rectangles use unrotated pixels with a bottom-left origin; GetDisplayBounds maps them to the rotated display view.

Byte inputs and options are copied. Load(Stream) reads from its current position, supports non-seekable streams, and leaves the stream open. A file handle is closed before Load(string) returns. The source hash and length describe the primary input, excluding resolved indirect components.

Indirect documents require a caller-supplied DjVuReadOptions.ComponentResolver. Its component IDs are opaque: OfficeIMO does not interpret them as paths or URLs. Return bytes from an explicitly approved component map. Resolved bytes are copied and count toward the aggregate source limit; recursive includes and foreign component forms are rejected.

Rendering defaults to native DPI, applies display rotation, and returns an RGBA raster. Region selects an unrotated native rectangle before scaling and rotation. Read and render options bound input, expansion, page pixels, codec memory, symbols, and output; cancellation is observed during parsing and decoding. RequireNoLoss() rejects reported rendering qualifications.

See the support and independent evidence contract, Reader adapter, and searchable PDF adapter.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on OfficeIMO.DjVu:

Package Downloads
OfficeIMO.Reader.DjVu

DjVu adapter for OfficeIMO.Reader using the managed OfficeIMO.DjVu engine.

OfficeIMO.DjVu.Pdf

Managed DjVu scanned-page PDFs with stored text and optional engine-neutral OCR.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.4.5 668 10/10/2026