- To: Mathias Stümpert <AtzeS@xxxxxx>
- Subject: Re: AW: serialize a 3 d dispaly
- From: tomw <tomw@xxxxxxxxxxxxx>
- Date: Wed, 05 Dec 2001 13:39:59 -0600
Along these same lines, there is also a "captureDisplay(DisplayImpl d,
String filename)" method in visad.util.Util. This writes the display as
a JPEG into the file you specify.
And...if you're in Python, you can simply use the: saveplot(display, "myfile.jpg")method (this can also be used to save spreadsheet cells generated from 'plot' calls).
tom Mathias Stümpert wrote:
Hi Garrett,Is there a simple way to capture the 3d display for later viewing?If you are working with Windows and only want to have a snapshot of your display press alt+print to copy the active window to the clipboard (only pressing print copies the whole screen). Then go to a graphics program (CorelDraw or even Paint will do it) and press strg+v and the snapshot is beeing copied to your graphics program. Some graphic programs even have a function like "load image from clipboard", e.g. CorelDraw. Another way to catch an image of your display is to use the DisplayImpl.getImage() method. See an example for this in FancySSCell.captureDialog(). Hope that helps. Cheers, Mathias
-- Tom Whittaker (tomw@xxxxxxxxxxxxx) University of Wisconsin-Madison Space Science and Engineering Center Phone/VoiceMail: 608/262-2759 Fax: 608/262-5974
- References:
- AW: serialize a 3 d dispaly
- From: Mathias Stümpert
- AW: serialize a 3 d dispaly