net-core-html-to-image
net-core-html-to-image copied to clipboard
.NET Core HTML to Image converter
Latest versions of wkhtmltoimage is require --enable-local-file-access flag to work with local files
Hi, I am trying to generate an image from HTML string. Locally works well, but when I deploy it to Azure app service it fails on ` var bytes =...
I'm building a web app with .Net Core. The CoreHtmlToImage NuGet package seems to work fine when I'm running my web app locally in VS 2017. However, when I deploy...
Tested with an HTML file that has a gradient border. Image did not have the gradient border when rendered. Image without border:  Image of HTML 
MAC os can inastall by :"brew install wkhtmltopdf --cask"
It's throwing OSX Platform not implemented yet
* Hi. i test with my html but render image not correct! * Expect image  * html demo [html.txt](https://github.com/andrei-m-code/net-core-html-to-image/files/8087923/html.txt) * Result 
browser rendering effect  Effects of this tool's transformation  And I took a cursory look at the source code, found that still relies on the screenshot tool [wkhtmltoimage.exe](https://github.com/andrei-m-code/net-core-html-to-image/blob/master/CoreHtmlToImage/wkhtmltoimage.exe), So...
There is an example: var converter = new HtmlConverter(); var bytes = converter.FromHtmlString("Привет"); File.WriteAllBytes(path, bytes);
Should include an option to specify "--enable-local-file-access" for wkhtmltoimage.exe.