xglaresrc

hallo List,
Please go easy on me, I'm a newbie. :-/

Is there a way to save the xglaresrc output images (the pics with the red circles) without doing some sort of screen capture?
I tried 'xglaresrc image.pic image.glr | tee image.out', which I was so hoping would work but of course didn't.

Thanks,

judy

Hi Judy,

In what way do you qualify as a "newbie??"

Unfortunately, there is no output facility from ximage. The only way to get the image is with a window capture. Fortunately, X11 has a utility for this, called xwd. If your image file were named "35b3", you could call the following command once it was up:

  % xwd -name 35b3 -out 35b3.xwd

The xwd program looks up the window by name, then dumps its contents to the file 35b3.xwd. Unfortunately, none of the mainstream programs will recognize the little-used "X-window dump" format, so you'll have to load it into GraphicConverter or somesuch and save it out in a more conventional format.

-Greg
(Definite oldbie)

···

From: judy lai <jlai@lbl.gov>
Date: January 11, 2005 12:25:23 AM PST

hallo List,
Please go easy on me, I'm a newbie. :-/

Is there a way to save the xglaresrc output images (the pics with the red circles) without doing some sort of screen capture?
I tried 'xglaresrc image.pic image.glr | tee image.out', which I was so hoping would work but of course didn't.

Thanks,

judy

you may try THE GIMP, there is a quick screen capture utility,
just click on the X11 window and the image is captured to Gimp.
Hope it works!
Regards
giulio

···

-----Original Message-----
From: radiance-general-bounces@radiance-online.org
[mailto:radiance-general-bounces@radiance-online.org]On Behalf Of Greg
Ward
Sent: 11 January 2005 16:40
To: Radiance general discussion
Subject: Re: [Radiance-general] xglaresrc

Hi Judy,

In what way do you qualify as a "newbie??"

Unfortunately, there is no output facility from ximage. The only way
to get the image is with a window capture. Fortunately, X11 has a
utility for this, called xwd. If your image file were named "35b3",
you could call the following command once it was up:

  % xwd -name 35b3 -out 35b3.xwd

The xwd program looks up the window by name, then dumps its contents to
the file 35b3.xwd. Unfortunately, none of the mainstream programs will
recognize the little-used "X-window dump" format, so you'll have to
load it into GraphicConverter or somesuch and save it out in a more
conventional format.

-Greg
(Definite oldbie)

From: judy lai <jlai@lbl.gov>
Date: January 11, 2005 12:25:23 AM PST

hallo List,
Please go easy on me, I'm a newbie. :-/

Is there a way to save the xglaresrc output images (the pics with the
red circles) without doing some sort of screen capture?
I tried 'xglaresrc image.pic image.glr | tee image.out', which I was
so hoping would work but of course didn't.

Thanks,

judy

_______________________________________________
Radiance-general mailing list
Radiance-general@radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-general

___________________________________________________________________
Electronic mail messages entering and leaving Arup business
systems are scanned for acceptability of content and viruses.

Greg Ward wrote:

Hi Judy,

In what way do you qualify as a "newbie??"

Unfortunately, there is no output facility from ximage. The only way to get the image is with a window capture. Fortunately, X11 has a utility for this, called xwd. If your image file were named "35b3", you could call the following command once it was up:

    % xwd -name 35b3 -out 35b3.xwd

The xwd program looks up the window by name, then dumps its contents to the file 35b3.xwd. Unfortunately, none of the mainstream programs will recognize the little-used "X-window dump" format, so you'll have to load it into GraphicConverter or somesuch and save it out in a more conventional format.

-Greg
(Definite oldbie)

xwd -name 35b3 | xwdtopnm | ra_ppm -r > 35b3.pic

-Peter
(middlebie)

···

--
pab-opto, Freiburg, Germany, http://www.pab-opto.de
[see web page to check digital email signature]

Thanks folks.
I'll try xwdtopnm. More glare questions are coming, as soon as I figure out what I need to ask....

judy