Page 1 of 1
Create thumbnail image of a website
Posted: 2009-08-24T10:30:06-07:00
by lucp
Can ImageMagick be used to create a thumbnail image of a given URL?
e.g.: when the URL
www.google.com is passed, it should create an image of what is displayed in a browser, when someone visits that site.
Is this possible with ImageMagick, somehow?
Re: Create thumbnail image of a website
Posted: 2009-08-24T10:58:40-07:00
by fmw42
I am no expert and will defer to the IM folks, but I believe the simple answer is
no. It can access and make a thumbnail of some IMAGE on a web page. For example:
convert
http://www.cit.gu.edu.au/~anthony/image ... castle.gif \
-thumbnail 100x100 castle_logo.png
I believe the issue is that IM has no way to capture the page or convert the HTML to an image. It can only access an existing image on an existing web page.
You need to find some other tool that will access the web page and convert it to an image or pdf format, i.e. some kind of HTML2PDF converter. Then IM can convert that to a thumbnail in jpg or any other image format.
Someone correct me if I am wrong.