Re: Creating an image from a [60][80][3] array
To make myself clearer, I have an [60][80][3] array where:
[60][80] is an array with values (float) and to each value a specified color corresponds .I define the color by giving certain values to red,green and blue.
I was thinking about using
MemoryImageSource
or
ImageProducer producer
but i can't make something work..
And I still can't find the appropriate bufferedImage function and void setRGB(int x, int y, int rgb) requires an int
while I have an array with 3 values Red Green Blue.
|