creating an image from scratch
Here is what I have:
2 dimensional array of colors with RGB values. (like pixels)
Here is what I need:
an image reflecting the contents of that 2d array.
I have researched this a bit and read about images, bufferedImages, rasters, writableRasters, and the like but I dont quite understand how to use them. My ultimate goal is to create an image from scratch using the RGB values stored in the array and write them to a bitmap file or something.
Any easy way to do this?