On Sunday 12 September 2004 17:37, Jan Depner wrote:
sleep 5
xwd -root -out output_file.xwd
convert output_file.xwd output_file.png
rm fred.xwd
If you happen to have imagemagick installed you could as well use it directly:
sleep 5; import -window root output_file.png
No need to run ancient xwd :)