fathyb / html2svg

Convert HTML and `<canvas>` to SVG, PDF, or images using Chromium

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Full scroll

prurigro opened this issue · comments

This might be too complex to reasonably include and maintain as a feature, but for the purpose of outputting website previews it would be handy if it was possible to capture the full viewport (maybe as a flag like --height full or --height auto or something?).

Maybe it could detect the body element's height and then set the viewport height to match that before taking a snapshot?

You should be able to do that with the --full option! Going to update the readme to include it in a bit..

Amazing, it seems like you've thought of everything! Thanks again for the awesome tool :)