[448] in java-interest

home help back first fref pref prev next nref lref last post

creating grayscale images?

daemon@ATHENA.MIT.EDU (Kenneth Robert Lenga)
Thu Jun 22 18:42:48 1995

Date: Thu, 22 Jun 1995 15:07:09 -0700 (PDT)
From: Kenneth Robert Lenga <krl@leland.Stanford.EDU>
To: java-interest-digest@java.sun.com

I am attempting to convert a Fortran program simulating waves in a pond to 
java.  The Fortran program includes the line "call snap('movie.H',n,n,new)".
'new' is an array of floats corresponding to grayscale values.  I was 
wondering if there is an easy way to implement this in Java.  I've 
created images using the DIBitmap class, but each byte must be 0 or 1, or 
a combination of colors.

Thanks,

Ken

 
        
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post