Go back to the main page

Install OSX wkhtmltoimage binaries

 

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

  • Pushed on 06/07/2013 by Christian