Karol Hernik
Karol Hernik

Reputation: 133

Using wkhtmltoimage from wkhtmltopdf

I read in their documentation that wkhtmltoimage is inside wkhtmltopdf, so I installed wkhtmltopdf using apt-get, because that's the only way I could get all dependencies working.

Now I can use wkhtmltopdf, but when I use wkhtmltoimage, I keep getting that command was not found.

Why is that so? How can I use it?

I want to be able to do something like this:

wkhtmltoimage --width=750 'http://google.com/' test.jpg

Upvotes: 2

Views: 2030

Answers (1)

Joel Peltonen
Joel Peltonen

Reputation: 13432

What does wkhtmltopdf --version output for you? The versions that you get with apt-get can be ancient. I suggest that you download it manually

Upvotes: 1

Related Questions