Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Aug 2012 21:50:27 +0200
From:      "C. P. Ghost" <>
To:        Polytropon <>
Cc:        FreeBSD Questions <>
Subject:   Re: Webpage screenshot
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Sun, Aug 5, 2012 at 8:41 PM, Polytropon <> wrote:
> I'm searching for a simple way to create a screenshot from
> a web page, i. e. convert the rendered page into a PNG (or
> something similar) graphic format. This is intended to be
> used for usability and design visualization where different
> components of the web page can be "colored" using Gimp to
> show their structure by "inking" the different elements.
> The idea of taking a screenshot from the web browser may
> look sufficient at first, but it is problematic when the
> web page doesn't fit horizontally or vertically. This
> sometimes doesn't even work when using the browser in
> "total fullscreen" (which is 1400x1050 or 2800x1050 here).
> Using the browsers "print to PS" functionaliy also add
> pagination that is not desired, and "continuous form
> printing" export doesn't exist.
> How would you suggest to solve this task? CLI utilities
> are welcome - the less interaction, the better. It doesn't
> matter if the result is a 800x10000 px image with 300 px
> white margin left and right. :-)

I'm still using xwd(1) to grab a window (using -frame to add
the decoration of the window manager) here, and convert it
then to .png with the Gimp. Of course, I take care of displaying
just the interesting part of the web page that I need by scrolling
to the interesting part.

If you need a complete snapshot of the page, you may try this:
open Firefox with some insane big -geometry settings, perhaps
to a big virtual screen in X; and then grab that whole window
with xwd(1). I didn't try that, but it may be enough. If your X server
won't handle this big a screen, try with a nesting server like

Good luck!

> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...


Cordula's Web.

Want to link to this message? Use this URL: <>