Colargol
Colargol

Reputation: 769

How to take webpage screenshots with wkhtmltopdf?

I can create PDF file with wkhtmltopdf in linux Ubuntu: "wkhtmltopdf www.stackoverflow.com file.pdf" How to take webpage screenshots?

Upvotes: 0

Views: 1639

Answers (2)

Barun
Barun

Reputation: 2652

You can use wkhtmltoimage as suggested by Mathew. You can go to the first URL and download the file suitable for your architecture (or its source code). Usage is simple:

./wkhtmltoimage-i386 http://www.google.com google.png

Upvotes: 2

ʍǝɥʇɐɯ
ʍǝɥʇɐɯ

Reputation: 4022

wkhtmltoimage - this also uses the webkit render engine for excellent results and is available as standalone binary with no install problems anticipated, just trial and error to get the results you need.

Upvotes: 2

Related Questions