welcome to node html to image online with Winfy
We have hosted the application welcome to node html to image in order to run this application in our online workstations with Wine or directly.
Quick description about welcome to node html to image:
This module exposes a function that generates images (png, jpeg) from HTML. It uses a puppeteer in headless mode to achieve it. Additionally, it embarks Handlebars to provide a way to add logic to your HTML. When you install Puppeteer, it downloads a recent version of Chromium (~170MB Mac, ~282MB Linux, ~280MB Win) that is guaranteed to work with the API. 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. Handlerbars is a templating language. It generates HTML from a template and an input object. In the following example we provide a template to node-html-to-image and a content object to fill the template.Features:
- Simple examples
- TypeScript Support
- Set output image resolution
- Use Handlebars helpers
- Use the buffer instead of saving to disk
- Generate multiple images
Programming Language: TypeScript.
Categories:
HTML/XHTML, Multimedia
©2024. Winfy. All Rights Reserved.
By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.