dotnet add package NReco.ImageGenerator.LT --version 1.1.3
NuGet\Install-Package NReco.ImageGenerator.LT -Version 1.1.3
<PackageReference Include="NReco.ImageGenerator.LT" Version="1.1.3" />
paket add NReco.ImageGenerator.LT --version 1.1.3
#r "nuget: NReco.ImageGenerator.LT, 1.1.3"
// Install NReco.ImageGenerator.LT as a Cake Addin #addin nuget:?package=NReco.ImageGenerator.LT&version=1.1.3 // Install NReco.ImageGenerator.LT as a Cake Tool #tool nuget:?package=NReco.ImageGenerator.LT&version=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).
|Product||Versions Compatible and additional computed target framework versions.|
|.NET||net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed.|
|.NET Core||netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed.|
|.NET Standard||netstandard1.5 is compatible. netstandard1.6 was computed. netstandard2.0 is compatible. netstandard2.1 was computed.|
|.NET Framework||net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
|MonoAndroid||monoandroid was computed.|
|MonoMac||monomac was computed.|
|MonoTouch||monotouch was computed.|
|Tizen||tizen30 was computed. tizen40 was computed. tizen60 was computed.|
|Xamarin.iOS||xamarinios was computed.|
|Xamarin.Mac||xamarinmac was computed.|
|Xamarin.TVOS||xamarintvos was computed.|
|Xamarin.WatchOS||xamarinwatchos was computed.|
- No dependencies.
- NETStandard.Library (>= 1.6.1)
- System.Diagnostics.Process (>= 4.3.0)
- System.Reflection (>= 4.3.0)
- System.Reflection.Primitives (>= 4.3.0)
- System.Security.Cryptography.Algorithms (>= 4.3.0)
- System.Security.Cryptography.Cng (>= 4.3.0)
- System.Security.Cryptography.Csp (>= 4.3.0)
- System.Threading.Thread (>= 4.3.0)
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on NReco.ImageGenerator.LT:
This package is not used by any popular GitHub repositories.
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();
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 email@example.com if you want to get a demo key for evaluation/testing purposes.