Image.importPixels

Replaces the pixels in the specified area with pixel data from the supplied array.

class Image
void
importPixels
(
T
)
(,
T[] pixels
,
string map = "RGBA"
)

Parameters

area Geometry

Location in the image to store the pixels.

pixels T[]

An array of pixels defined by map.

map string

This character string can be any combination or order of R = red, G = green, B = blue, A = alpha, C = cyan, Y = yellow, M = magenta, and K = black. The ordering reflects the order of the pixels in the supplied pixel array.

Meta