NReco.ImageGenerator 1.1.0

HTML-to-Image converter for C#/.NET (WkHtmlToImage wrapper). Can render web page or SVG to image (png, jpg formats). Useful for generating URL thumbnail.

Install-Package NReco.ImageGenerator -Version 1.1.0
dotnet add package NReco.ImageGenerator --version 1.1.0
paket add NReco.ImageGenerator --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Online demo, usage examples: https://www.nrecosite.com/html_to_image_generator_net.aspx
If you need build for .NET Core/Mono (without embedded wkhtmltoimage binaries) please contact support@nrecosite.com

v.1.1.0: Changes:
- WkHtmlToImage tool upgraded to version 0.12.4 (released 2016-Nov-22)
- all necessary VC++ Runtime 2015  dlls are included
- now for ASP.NET apps wkhtmltoimage binaries are extracted to 'App_Data\wkhtmltoimage' by default

v.1.0.3: Changes:
- hotfix for 'The value of argument 'value' (0) is invalid for Enum type 'ProcessPriorityClass' error
- VC++ 2013 runtime libraries used by wkhtmltoimage.exe ( msvcp120.dll, msvcr120.dll ) are embedded as DLL resources to simplify app deployment

v.1.0.2: Changes:
- added ProcessPriority and ExecutionTimeout properties</li>
- added workaround for "Exit with code 1 due to network error" wkhtmltoimage issue: when "--load-error-handling" or "--load-media-error-handling" set to "ignore" (or "skip") wkhtmltoimage generates an image but exited with code = 1 and as result WkHtmlToImageException is thrown. Now this case is handled correctly and exception is not thrown.
- now NReco.ImageGenerator.dll is a signed (strongly named) assembly

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
1.1.0 (current version) 4,397 3/31/2017
1.0.3 14,126 9/10/2015
1.0.1 2,566 2/21/2015
1.0.0 383 1/24/2015