Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Looking to say "http://example.com/index.html -o website.png"

Is there an existing program to do this? I'm ok with doing html to png. Is there a program for that?

share|improve this question

migrated from stackoverflow.com May 7 '11 at 21:45

This question came from our site for professional and enthusiast programmers.

    
Do you want webpage screenshots? – PENDO May 7 '11 at 12:02
    
@PENDO yes screenshots. @Mohamed Meligy looking to script something in the shell. – keith May 7 '11 at 12:15
    
If you want to "script something in the shell" then you need a command-line application to do it, and @Mohamed Meligy's comment still applies. – pavium May 7 '11 at 12:21
    
I think you need a html to pdf and image converter. – user117055 Feb 6 '12 at 17:06

Original Answer: (2011 -- before question tags added)

Check the answer to this question. It seems the same as yours: http://stackoverflow.com/questions/125951/command-line-program-to-create-website-screenshots-on-linux

If it's on Windows, check also:

Updated Answer:

A few other console / terminal based tools that can convert HTML to images.

They are both cross OS, free, and very popular.

share|improve this answer

quick search turns up this program

Main features

  • Create full size screenshots of website pages.
  • Supports JPG, GIF, PNG, BMP image formats.
  • Supports command line usage.
  • Supports batch convert with command line.
  • Simple, very fast and easy-to-use.
  • Freeware, not paid for use.
share|improve this answer

While it is no direct solution, the browsershots project is open source and basically provides what is requested here.

share|improve this answer

You must log in to answer this question.