Re: web page screen capture utility?



__/ [Cybe R. Wizard] on Monday 13 February 2006 01:24 \__

On Sun, 12 Feb 2006 23:58:45 GMT
ken <ken@xxxxxxxxxx> wrote:

hello,
are there any command line utilities that would let me get a screen
capture of a web page? ultimately i want to build an archive of web
page snapshots and i'm looking to build a script that would automate
this.


You can use 'import' to grab a shot of a particular window given its
identifier.

man import

KSnapshot, which is mentioned below, is far less flexible. It is not
highly-expressive and not scriptable either..


so far the only thing i can think of is to have a firefox window
open, then do a firefox -remote URL command to load the page i want
into firefox and then use xwd to capture the firefox window to an
image. [although i'm still not sure how to get the firefox window
resource ID so that i can grab it with xwd] however this is still
fairly problematic because i won't know if, or when, the page has
finished loading.


Give it enough time to load. Unless the screenshot is critical, this would
often be fine. Maybe you can probe Firefox for its loading state, though
it's more likely to be trivially achievable with Konqueror.


is there a better utility for doing something like this?
really appreciate any help.
thanks,
ken

"KSnapshot is a simple applet for taking screenshots. It is capable of
capturing images of either the whole desktop or just a single window.
The images can then be saved in a variety of formats."

Cybe R. Wizard


I think I ought to mention http://browsershots.org , which does exactly what
you describe not only under Linux, but also in Mac OSX and Windows. It might
be worth asking the Webmaster for that code which he runs under Debian.

Hope it helps,

Roy
.



Relevant Pages

  • Re: Is there a screencapture utility?
    ... window capture. ... >>|After you've taken the screenshot, ...
    (Debian-User)
  • RE: Capture image of App#As window from App#B
    ... Alt-PrtScr keypress event. ... To find the window of a particular application, this link will help, ... To capture the screenshot of the whole screen or a particular are, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: print screen but only the top open "window"
    ... Pressing +copies only the active Window to ... the clipboard. ... paste the contents of the clipboard (your screenshot) into the open ... How to Capture Screen Shots in Windows Using the Print Screen Key ...
    (microsoft.public.windowsxp.general)
  • FindWindow
    ... I need to make a screenshot of a window to find out, ... coordinates of the window I want to capture. ... The problem is that I didn't find a way to enumerate the windows on ...
    (comp.lang.java.gui)
  • SixFiles Best Mac OS X Freebies
    ... The latest Mac OS X freeware software news from Mac.SixFiles.com. ... The Image Browser window is split into two sections. ... screentabular display in an overview windowdisplay in the menu-bardisplay ... * Capture Me 1.3.2 ...
    (comp.sys.mac.apps)