wkhtmltoimage
Command line utilities to convert html to pdf or image using WebKit
Install
- All systems
-
curl cmd.cat/wkhtmltoimage.sh
- Debian
-
apt-get install wkhtmltopdf
- Ubuntu
-
apt-get install wkhtmltopdf
- Arch Linux
-
pacman -S wkhtmltopdf
- Kali Linux
-
apt-get install wkhtmltopdf
- Fedora
-
dnf install wkhtmltopdf
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install wkhtmltopdf
- Raspbian
-
apt-get install wkhtmltopdf
- Dockerfile
- dockerfile.run/wkhtmltoimage
wkhtmltopdf
Command line utilities to convert html to pdf or image using WebKit
wkhtmltopdf is a command line program which permits one to create a pdf or an image from an url, a local html file or stdin. It produces a pdf or an image like rendered with the WebKit engine. This program requires an X11 server to run. It is not built against a forked version of Qt hence some options are not supported.