Taking a screenshot and creating thumbnail of webpage html as an image via command line

There are a few options to take screenshot of a webpage or save a webpage as an image on the disk via the command line. This can allow you to create a thumbnail of a web site easily by one command on the terminal.

 

Using chrome to save a webpage as an image:

chrome --screenshot=google.png --headless --window-size=1024,768 https://www.google.com/ 

 

Using cutycapt to screenshot a webpage:

https://cutycapt.sourceforge.net/

 

Using webkit2png to create site thumbnail:

https://paulhammond.org/webkit2png

 

You can also use Midori browser



Comments

Popular posts from this blog

Accessing Windows Share (Samba) From Linux (XFCE) using Thunar

Bypassing the error by "go get" "tls: failed to verify certificate: x509: certificate signed by unknown authority"

Using phpword to merge two Mircrosoft Office Word .docx documents