Re: saving images on a linux box

Hi Ugo-

Ugo Taddei wrote:

A note for the archives. The following works with jdk1.4:

import javax.imageio.*;


FileOutputStream fos = new FileOutputStream(file);

if you swap "JPG" for "PNG" the img is saved as such.

but then you are 1.4 dependent. ;-)  VisAD strives to be
1.2 dependent.  While there are many advantages to 1.4,
it is a space drain, it has problems with ATI graphics cards
on laptops, needs administrative privileges to install on
Windows XP, and a stable version (1.4.2) is not available
on all platforms.  I'm not saying don't use it, but 1.4
can be fraught with "issues".

Don Murray                               UCAR Unidata Program
dmurray@xxxxxxxxxxxxxxxx                        P.O. Box 3000
(303) 497-8628                              Boulder, CO 80307