X window snapshot


Forum: Apps
Topic: X window snapshot
started by: hardpack

Posted by hardpack on Aug. 02 2004,20:42
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

Posted by davide on Aug. 03 2004,10:23
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 >>
:)

Posted by davide on Aug. 03 2004,10:24
(can't remember who wrote it. I just copy-spted from a txt file I made out of the topic. Sorry) :(
Posted by hardpack on Aug. 03 2004,13:44
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

Posted by ripcrd6 on Aug. 18 2004,06:53
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. ???

Posted by mikshaw on Aug. 18 2004,13:54
I don't think libpng is part of DSL (a guess).
The Gimp extension might provide it, but I can't say that for sure either.

Posted by roberts on Aug. 19 2004,06:54
davide wrote:
Quote
(can't remember who wrote it. I just copy-spted from a txt file I made out of the topic. Sorry)
I wrote that many moons ago.

mikshaw wrote:
Quote
[exec] (X Window Snapshot) {xwd -out myscreen.xwd; xwud -raw -in myscreen.xwd}
mikshaw, very good idea, I will include this in the next release.

Posted by ico2 on Sep. 17 2004,18:59
cool, i have been wondering about that for some time.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.