Actualités

object (default: puppeteer) optional node-html-to-image takes a screenshot of the body tag's content. If you want to set output image's resolution you need to set its dimension using CSS like in the ...
This is a .NET Core HTML to Image converter. It helps converting HTML strings or URLs to image bytes. Please see the examples: Permission is hereby granted, free of charge, to any person obtaining a ...
For instance, the HTML code for your ... 5 pixels away from the image, add "padding:5px;" to your style tag. You can specify padding on just one side by using, for example, "padding-left:5px;".