4 ms·
I did a similar thing using the IMGKit gem https://github.com/csquared/IMGKit https://github.com/csquared/IMGKit that uses wkhtmltoimage to generate a PNG from
by rognjen 5y ago
I did a similar thing using the IMGKit gem https://github.com/csquared/IMGKit https://github.com/csquared/IMGKit that uses wkhtmltoimage to generate a PNG from HTML. I believe you could use wkhtmltoimage directly and skip Puppeteer.