swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making images


From: Paul Johnson
Subject: Re: making images
Date: Thu, 30 Jan 2003 07:54:58 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

There is built-in capability to save either individual window widgets or the whole screen in png format.

Look in the heatbugs in swarmapps for a CPP flag SCREENSHOT which turns on the snapshots.

There is a separate BatchRaster class in the swarm contrib that is a bit faster if you are only saving a raster's colors with nothing else.

pj

Albert van der Heide wrote:
Hello.

I want to save images of my running simulations, automatically (without screen grabbing). I suspect someone has already had this same idea, and has come up with a sollution.

All elements are there to make a 'saveable' image:
    ZoomRaster worldRaster;
    Colormap colormap;

How do I put this in a BufferedImage(), for example?
Or are there smarter ways? Albert van der Heide
---------------------------------
student : A.J v.d Heide
doing   : Artificial Intelligence
e-mail  : address@hidden
---------------------------------

--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]