net-core-html-to-image icon indicating copy to clipboard operation
net-core-html-to-image copied to clipboard

.NET Core HTML to Image converter

Results 25 net-core-html-to-image issues
Sort by recently updated
recently updated
newest added

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: ![GradientBorder](https://github.com/andrei-m-code/net-core-html-to-image/assets/90006729/8af96983-6505-44ae-9ff9-7495829dcfc5) Image of HTML ![HTMLImage](https://github.com/andrei-m-code/net-core-html-to-image/assets/90006729/5e7935a2-65f4-49df-a14d-a4d7b5988edc)

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 ![expect](https://user-images.githubusercontent.com/30700664/154459721-dca20946-a2e2-4933-9d3c-0eff4b86e0b4.png) * html demo [html.txt](https://github.com/andrei-m-code/net-core-html-to-image/files/8087923/html.txt) * Result ![result](https://user-images.githubusercontent.com/30700664/154459729-78ab33db-62ab-44a0-bca6-32e8157ef572.png)

browser rendering effect ![image](https://user-images.githubusercontent.com/42566429/153548751-ce5069f9-b3e8-4319-b981-842e9c31ccea.png) Effects of this tool's transformation ![image](https://user-images.githubusercontent.com/42566429/153548668-1aa1a875-9fb7-448d-a498-67d4fdb395cd.png) 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.