Sets the inner pixel array of the image by feeding the outer array.
The size of the array must be equal to the actual size of the image (i.e. the size of the given one-dimensional array must be equal to the product of the length of the image and its width)
Exception if the length of the supplied array does not match the actual length of the internal array, as above.
Typical usage:
PixMapImagepmi = newPixMapFile(2);
RGBColor[] pixels = [newRGBColor(255, 255, 255), newRGBColor(255, 255, 255)];
pmi.array(pixels); // set all pixels as white
Sets the inner pixel array of the image by feeding the outer array. The size of the array must be equal to the actual size of the image (i.e. the size of the given one-dimensional array must be equal to the product of the length of the image and its width)