Apps :: X window snapshot



Sorry that this is probably so silly... But once you use X window snapshot to take a picture, it opens the image in xwud, and then how do I save that image to a file?

Thanks!

hp

from an old topic in this forum:

<< That menu option does not actually save them. Instead it pipes the output of the captured screen into the input of the display screen program. If you look at the commands that menu selection is executing you will see:
xwd | xwud
What you get is a displayed image of the screen that was captured. When you click on it, it closes and is gone.
If you want to play with these commands, try the following for a shell command prompt:
xwd -out myscreen.xwd
That will capture the screen and save it to the named file myscreen.xwd. Now to view the saved screen you will need to:
xwud -in myscreen.xwd

To see all the options type:
xwd --help  and xwud --help >>
:)

(can't remember who wrote it. I just copy-spted from a txt file I made out of the topic. Sorry) :(
Thanks so much, davide!

I modified my X Window Screenshot fluxbox menu to:

[exec] (X Window Snapshot) {xwd -out myscreen.xwd; xwud -raw -in myscreen.xwd}

And I found some more info about converting the .xwd file to a file format more portable:

http://www.hoopajoo.net/tips/content/2.html

(Use ImageMagick's "convert" (installable via synaptic) or fire up Gimp to convert the .xwd.)

hp

Is there a method to convert the image to .png using existing tools on the livecd or using a .dsl file in the repository?  
I have a custom CD with almost all the .dsl files on it.  I just removed the Ham radio files and the extra window managers. ???

Next Page...
original here.