New Library for HTML Screenshots (completely different aproach)

Author: jogibear9988Created Apr 13, 2026Updated May 6, 2026

I've created a new library wich uses a complete different approach to create screenshots or render to a canvas.

look at: https://github.com/node-projects/layout2vector supports rendering to: PDF, DXF, Image (PNG, JPG, ...), HTML, SVG, EMF and also Canvas!

Here is also a comparison to html2canvas: https://github.com/node-projects/layout2vector/blob/main/FEATURES.md

Works best at the moment if Firefox with getBoxQuads API in Flags enabled, cause it uses the getBoxQuads API wich needs otherwise to be polyfilled, and this is not possible for all element types correctly.