6 min read
Taking screenshots with Puppeteer in GIF, JP2, TIFF, AVIF, HEIF, or SVG format
Puppeteer, by default, supports only four formats for taking screenshots or rendering HTML: PNG, JPEG, WebP, and PDF.
If you want to take a screenshot of the site or render HTML in a different format, like GIF, JP2, TIFF, AVIF, HEIF, or SVG, there are many workarounds on how to do it.