View Single Post
  #4 (permalink)  
Old 09-28-2008, 04:34 PM
mimiru83 mimiru83 is offline
Newbie
 
Join Date: Jun 2008
Posts: 4
Credits: 0
Rep Power: 0
mimiru83 is on a distinguished road
Default 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.
Reply With Quote