RecursiveAI.OneRender.Image 1.3.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package RecursiveAI.OneRender.Image --version 1.3.0
                    
NuGet\Install-Package RecursiveAI.OneRender.Image -Version 1.3.0
                    
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="RecursiveAI.OneRender.Image" Version="1.3.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneRender.Image" Version="1.3.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneRender.Image" />
                    
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 RecursiveAI.OneRender.Image --version 1.3.0
                    
#r "nuget: RecursiveAI.OneRender.Image, 1.3.0"
                    
#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 RecursiveAI.OneRender.Image@1.3.0
                    
#: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=RecursiveAI.OneRender.Image&version=1.3.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneRender.Image&version=1.3.0
                    
Install as a Cake Tool

RecursiveAI.OneRender.Image

Turns a OneRender display list into pixels through OneImage. It is the reference rasterizer for the engine's tests.

using OneRender.Image;

RgbaImage image = HtmlRender.ToImage(html, new HtmlRenderOptions { Width = 800, Height = 600, DevicePixelRatio = 2 });
byte[] png = image.ToPng();

HtmlRender.ToImage is the happy path; DisplayListRasterizer renders any display list, or a region of it, which is what a viewer with damage regions wants. The package references RecursiveAI.OneRender.Fonts, so the default fonts need no setup. ColorGlyphBitmaps decodes the PNG glyph images of color bitmap fonts for backends that draw them.

Part of OneRender, an HTML and CSS layout and rendering engine for .NET: https://github.com/recursive-ai-oss/onerender-csharp. Licence MIT OR Apache-2.0; see THIRD-PARTY-NOTICES.md in the package for bundled third-party material.

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

NuGet packages (4)

Showing the top 4 NuGet packages that depend on RecursiveAI.OneRender.Image:

Package Downloads
RecursiveAI.OneRender.Pdf

Writes a OneRender display list as a tagged PDF through OnePdf.

RecursiveAI.OneRender.Razor

Renders a Razor component to PDF or an image in one call.

RecursiveAI.OneMail.Render

Renders an email message to a tagged PDF or PNG pages in one call, on OneRender. Native platforms only (not browser WebAssembly).

RecursiveAI.OneDocument.Rendering

Read, write, calculate, template and render Word, Excel and PowerPoint documents (OOXML, legacy binary, RTF, ODF) in pure .NET. Not affiliated with Microsoft. Layout and rendering of documents, workbooks and presentations to tagged PDF and PNG for OneDocument, with its own Office layout engine, charts, SmartArt, equations and metafile drawing.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.4.0 324 11/6/2026
1.3.3 318 11/5/2026
1.3.2 419 10/31/2026
1.3.1 473 10/28/2026
1.3.0 131 10/28/2026
1.2.0 141 10/28/2026
1.1.0 151 10/27/2026
1.0.1 121 10/27/2026
1.0.0 123 10/27/2026