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

Home » Public Forums » archive » Re: Gettng a widget screenshot?
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: Gettng a widget screenshot? [message #21644] Thu, 07 September 2000 00:48 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
"J.D. Smith" wrote:
>
> David Fanning wrote:
>>
>> Richard Tyc (richt@sbrc.umanitoba.ca) writes:
>>
>>> I am thinking I am missing something simple here but I checked tvrd() and
>>> widget_info and can't seem to find a way to get the current image of the
>>> onscreen widget. ie. I have a base widget filled with Draw, sliders, buttons
>>> etc and I want to get a snapshot at full screen resoution of the realized
>>> base widget. I am also using Object graphics for the Draw windows. I
>>> thought by getting the geometry from widget_info(wbasewidget, /Geometry) I
>>> could specify to tvrd() where to get the image (xo,yo,xsize,ysize) , but
>>> tvrd works on Windows, not widgets(with windows in them) I guess. (ie. when
>>> I try this, tvrd pops up a blank 640x512 window (1/4 screen size from my
>>> preferences) and returns a blank image array?)
>>>
>>> Any ideas ? I am trying to animate how my application looks to the user. I
>>> am using Windows NT4 and IDL 5.3.
>>
>> HyperSnap-DX. About $25. One of the most useful pieces
>> of software I own.
>>
>> http://www.hyperionics.com/
>>
>
> Hate to be an open-source snob... Linux + xwd. About $0. I like:
>
> xwd -frame | convert - mywidget.gif
>
... or import (an ImageMagick tool). This may even be available for
Windows as well ??

Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SOLVED Re: puzzled with WHERE
Next Topic: Horrible map reprojections

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

Current Time: Wed Oct 08 13:31:12 PDT 2025

Total time taken to generate the page: 0.00420 seconds