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

Add support for AWS lambda

Open emmanuel2804 opened this issue 4 years ago • 0 comments

In order to use wkhtmltopdf in a lambda it is necessary to add the binary files in a layer, these files are in the $PATH variable of the system. PATH = /var/lang/bin:/usr/local/bin:/usr/bin/:/bin:/opt/bin Files: /opt/bin/wkhtmltoimage /opt/bin/wkhtmltopdf

When I try to use var converter = new HtmlConverter(); that throw a exception because wkhtmltoimage is not installed on that linux system.

emmanuel2804 avatar Feb 23 '21 16:02 emmanuel2804