Re: Obtaining image of screen [message #31772] |
Tue, 20 August 2002 12:16  |
Liam E. Gumley
Messages: 378 Registered: January 2000
|
Senior Member |
|
|
Alan Ling wrote:
> I have an IDL program which creates a window containing various
> widgets, including a drawing area made with WIDGET_DRAW. I can draw
> something in the drawing area and save the image of what is drawn to
> an array using TVRD(). What I want to do is to save the entire
> window into an array as an image, not just the graphics portion of the
> window, but everything in the window including all the widgets. Does
> anyone know how to do this?
I don't know of any way to do this in IDL.
However there are a number of non-IDL ways to do it, depending on your
host platform. What platform are you using?
Cheers,
Liam.
Practical IDL Programming
http://www.gumley.com/
|
|
|
Re: Obtaining image of screen [message #31773 is a reply to message #31772] |
Tue, 20 August 2002 12:20   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Alan Ling (Alan.Ling@hanscom.af.mil) writes:
> I have an IDL program which creates a window containing various
> widgets, including a drawing area made with WIDGET_DRAW. I can draw
> something in the drawing area and save the image of what is drawn to
> an array using TVRD(). What I want to do is to save the entire
> window into an array as an image, not just the graphics portion of the
> window, but everything in the window including all the widgets. Does
> anyone know how to do this?
I use Hypersnap from Hyperionics. It was about $25, I think,
and extraordinarily well worth it!
http://www.hyperionics.com/
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|
Re: Obtaining image of screen [message #31858 is a reply to message #31772] |
Wed, 21 August 2002 06:03  |
Alan.Ling
Messages: 2 Registered: August 2002
|
Junior Member |
|
|
"Liam E. Gumley" <Liam.Gumley@ssec.wisc.edu> wrote in message news:<3D62959E.3E369C6F@ssec.wisc.edu>...
> Alan Ling wrote:
>> I have an IDL program which creates a window containing various
>> widgets, including a drawing area made with WIDGET_DRAW. I can draw
>> something in the drawing area and save the image of what is drawn to
>> an array using TVRD(). What I want to do is to save the entire
>> window into an array as an image, not just the graphics portion of the
>> window, but everything in the window including all the widgets. Does
>> anyone know how to do this?
>
> I don't know of any way to do this in IDL.
>
> However there are a number of non-IDL ways to do it, depending on your
> host platform. What platform are you using?
>
> Cheers,
> Liam.
> Practical IDL Programming
> http://www.gumley.com/
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.
|
|
|