Closed fathyb closed 1 year ago
PNG/JPEG supports as well please.
wkhtmltopdf already exists for this purpose - https://wkhtmltopdf.org/
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.
Tracking PDF support here