Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 15:20:47 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Mario Schmidt <mario@freebsd.linux-site.net>
Cc:        Sue Blake <sue@welearn.com.au>, freebsd-newbies@FreeBSD.ORG
Subject:   Re: Screenshot
Message-ID:  <20020604122047.GE24499@hades.hell.gr>
In-Reply-To: <1022883384.19035.4.camel@client1.freebsd.linux-site.net>
References:  <1022880554.7654.5.camel@client1.freebsd.linux-site.net> <20020601080012.O5356@welearn.com.au> <1022883384.19035.4.camel@client1.freebsd.linux-site.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-06-01 01:16 +0300, Mario Schmidt wrote:
> Thank you Sue,
>
> # xwd -root > dump; xpaint dump
>
> really do it for me :)
>
> if i would know how to convert those binary dump into gif on a
> command line rather than using xpaint, it would be a perfect
> solution!

There's always graphics/netpbm.  This is a set of command line tools
that can be used to convert/resize/rotate or do other stuff on images.

You'll be glad to find that it includes a utility called xwdtopnm, and
a host of conversion tools that can read a *.pnm file and convert it
to other formats.  One of them is called ppmtogif :)

You can pipe and stick these tools together, with commands like:

	xwdw -root | xwdtopnm | ppmtogif > screen.gif

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020604122047.GE24499>