NReco.ImageGenerator.LT 1.1.1

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.1
dotnet add package NReco.ImageGenerator.LT --version 1.1.1
paket add NReco.ImageGenerator.LT --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

ImageGenerator.LT build doesn't include wkhtmltoimage binaries so wrapper 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: "wkhtmltopdf"
htmlToImage.PdfToolPath = "<path_to_wkhtmltopdf_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.

Version History

Version Downloads Last updated
1.1.1 (current version) 112 11/23/2017