Getting a color value from an individual pixel through a two-index indexing operation.
Note: It is allowed to use as indices values greater than the length and width (or less than 0) as indices, since the values will be converted to the actual length of the image array.
Typical usage:
// creating image of size 20x20, all pixels are blackautopmi = newPixMapImage(20, 20);
// get pixel color at coords (5;5)pmi[5, 5].writeln;
Getting a color value from an individual pixel through a two-index indexing operation. Note: It is allowed to use as indices values greater than the length and width (or less than 0) as indices, since the values will be converted to the actual length of the image array.
Typical usage: