Knyaz.Optimus.Graphics 0.1.4

There is a newer version of this package available.
See the version list below for details.
Install-Package Knyaz.Optimus.Graphics -Version 0.1.4
dotnet add package Knyaz.Optimus.Graphics --version 0.1.4
<PackageReference Include="Knyaz.Optimus.Graphics" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Knyaz.Optimus.Graphics --version 0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Knyaz.Optimus.Graphics, 0.1.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Knyaz.Optimus.Graphics as a Cake Addin
#addin nuget:?package=Knyaz.Optimus.Graphics&version=0.1.4

// Install Knyaz.Optimus.Graphics as a Cake Tool
#tool nuget:?package=Knyaz.Optimus.Graphics&version=0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Disclamer

Knyaz.Optimus.Graphics is an experimental library. The result of rendering can be very different from what you would normally see in your favorite browser.

Sample

using System.Threading.Tasks;
using Knyaz.Optimus;
using Knyaz.Optimus.Graphics; //required to call 'ToImage' extension method

namespace ConsoleApp1
{
	class Program
	{
		static async Task Main(string[] args)
		{
			var engine = new Engine();

			//Open google.com site
			var page = await engine.OpenUrl("http://google.com");

			//write rendering result to the bitmap
			var bitmap = engine.ToImage(500, 500);
			
			//save the bitmap to the file
			bitmap.Save("c:/temp/google.bmp");
		}
	}
}

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 124 10/31/2021
0.2.0-alpha-93 200 9/20/2020
0.2.0-alpha-91 222 2/13/2020
0.2.0-alpha-90 283 2/9/2020
0.2.0-alpha-111 71 10/8/2021
0.2.0-alpha-109 135 5/1/2021
0.2.0-alpha-108 108 4/10/2021
0.2.0-alpha-107 161 1/8/2021
0.2.0-alpha-105 167 1/7/2021
0.2.0-alpha.73 213 11/3/2019
0.1.4 610 8/21/2018