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

Home » Public Forums » archive » Re: Obtaining image of screen
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Obtaining image of screen [message #31772] Tue, 20 August 2002 12:16 Go to next message
Liam E. Gumley is currently offline  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 Go to previous messageGo to next message
David Fanning is currently offline  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 Go to previous message
Alan.Ling is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: From a novice in IDL
Next Topic: Obtaining image of screen

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

Current Time: Wed Oct 08 15:26:46 PDT 2025

Total time taken to generate the page: 0.00697 seconds