comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Obtaining image of screen
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Obtaining image of screen [message #31854 is a reply to message #31776] Wed, 21 August 2002 07:35 Go to previous messageGo to previous message
mchinand is currently offline  mchinand
Messages: 66
Registered: September 1996
Member
In article <571b0146.0208210503.1f9a0401@posting.google.com>,
Alan Ling <Alan.Ling@hanscom.af.mil> wrote:
> "Liam E. Gumley" <Liam.Gumley@ssec.wisc.edu> wrote in message
> I am using Irix 6.5 on a SGI O2. I was looking for a way to do it in
> IDL. I looked into spawning snapshot in my code, but snapshot doesn't
> accept any useful arguments such as the window position and size, thus
> making it clumsy to use for this purpose.

You can use xwd. You can specify either the resource ID or
WM_NAME of the window you want to capture. If you set the title of the
base widget you can use:

xwd -name 'title_of_your_base_widget' > widgetcapture.xwd

IDL can read the X Windows dump format file with READ_XWD.

Hope that helps,

--Mike

--
Michael Chinander
m-chinander@uchicago.edu
Department of Radiology
University of Chicago
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Obtaining image of screen
Next Topic: Re: Read/format mixed int/flt/strng ascii files

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 20:30:12 PDT 2025

Total time taken to generate the page: 0.96309 seconds