[1550] in java-interest
DIBitmap and RGB
daemon@ATHENA.MIT.EDU (Christian Koechling c/o ROBERT BO)
Thu Sep 7 16:26:29 1995
Date: Thu, 7 Sep 95 18:05:18 WET DST
From: Christian Koechling c/o ROBERT BOSCH GmbH FV/SLH <kl@hic334.decnet.bosch.de>
To: "java-interest@java.sun.com"@si4640.si.bosch.de
Apparently-To: java-interest@java.sun.com
Hi folks!
I'm on the way to get familiar with the java-language.
Since yesterday I want to write an application which shows
RGB-pictures in a window on screen.
This programm will be part of an simulation written in C
hence contents of the pictures will be delivered in arrays by
the C-routines.
by using the following lines showing gif's from a file
was possible.
GifImage gif = new GifImage("test.gif");
graph = new Graphics(win);
img = win.createImage(gif);
graph.drawImage(img,0,0);
presumable I have to use 'DIBitmap'
In case I've got 3 arrays each has a size of 200 by 200 describing
the red, the green and the blue contents of the RGB-picture (depth 8bit)
how does this DIBitmap(int,int,int colors,byte[],byte[],byte[],byte[]) work
for my problem.
What does the raster array do?
my 'sun' will rise will rise again for any help given for this!
Thanks
Christian Koechling
<koechling@c334.decnet.bosch.de>
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com