fathyb/html2svg

PDF support

fathyb opened this issue · 4 comments

Tracking PDF support here

PNG/JPEG supports as well please.

wkhtmltopdf already exists for this purpose - https://wkhtmltopdf.org/

gbtb commented

wkhtmltopdf already exists for this purpose - https://wkhtmltopdf.org/

Core browser engine inside wkhtmltopdf is severely outdated. Flexbox and everything that came after it is not supported. Nevertheless, wkhtmltopdf could be used as a baseline for features to implement. Also compatible CLI could be developed which would ease the transition for end users.

PDF support has landed! You can try it on the latest Docker image:

docker run fathyb/html2svg https://google.com --format pdf > google.pdf

Tracking the raster support (JPEG, PNG, WebP) on #9.