Go back to the main page

Install OSX wkhtmltoimage binaries

This article is over 2 years old. Proceed with caution.

Regards ♨ – Minimul

 

The gotcha is that the OSX binaries have been depreciated.

cd ~/Downloads
wget http://wkhtmltopdf.googlecode.com/files/wkhtmltoimage-OSX-0.10.0_rc2-static.tar.bz2
tar xvjf wkhtmltoimage-OSX-0.10.0_rc2-static.tar.bz2 -C /usr/local/bin
sudo ln -s /usr/local/bin/wkhtmltoimage /usr/bin # optional: I needed it here for a certain rails app config
# Test
cd ~/Pictures
wkhtmltoimage www.google.com goog-pict.png

Comment on this article?