Created
February 17, 2015 12:27
-
-
Save marktopper/69a735d8670e9b4f38fa to your computer and use it in GitHub Desktop.
Install wkhtmltoimage on ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install | |
$ cd /tmp | |
$ wget http://wkhtmltopdf.googlecode.com/files/wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2 | |
$ tar xvjf ./wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2 | |
$ chmod +x ./wkhtmltoimage-i386 | |
$ mv wkhtmltoimage-i386 ./usr/bin/wkhtmltoimage | |
$ rm wkhtmltoimage-0.11.0_rc1-static-i386.tar.bz2 | |
Usage | |
$ sudo /usr/bin/xvfb-run -a -s "-screen 0 640x480x16" /usr/bin/wkhtmltoimage http://google.com/ google.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment