NReco.ImageGenerator.LT 1.1.3

HTML-to-Image converter for .NET / Mono / .NET Core (WkHtmlToImage wrapper). Renders HTML/SVG content or web page URL to image (png or jpeg).

Install-Package NReco.ImageGenerator.LT -Version 1.1.3
dotnet add package NReco.ImageGenerator.LT --version 1.1.3
<PackageReference Include="NReco.ImageGenerator.LT" Version="1.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.ImageGenerator.LT --version 1.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

ImageGenerator.LT build doesn't embed wkhtmltoimage binaries and can be used in non-windows environments (Linux, OS-X) from Mono or .NET Core projects. Appropriate wkhtmltoimage binaries should be installed/deployed with your application.
How to use:

var htmlToImage = new NReco.ImageGenerator.HtmlToImageConverter();
NReco.ImageGenerator.License.SetLicenseKey("your_id", "your_license_key");
htmlToImage.WkHtmlToImageExeName = "wkhtmltoimage.exe";  // for Linux/OS-X: "wkhtmltoimage"
htmlToImage.PdfToolPath = "<path_to_wkhtmltoimage_folder>";  // path where wkhtmltoimage binaries are located
htmlToImage.GenerateImageFromFile("http://"+"www.google.com", null, "google.jpg");

More info (online demo, usage examples): https://www.nrecosite.com/html_to_image_generator_net.aspx
Please contact support@nrecosite.com if you want to get a demo key for evaluation/testing purposes.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.3 3,108 4/3/2019
1.1.2 2,346 11/23/2018
1.1.1 4,592 11/23/2017