Referencia loadPixels()

loadPixels()

Loads the current value of each pixel in the image into the img.pixels array.

img.loadPixels() must be called before reading or modifying pixel values.

Ejemplos

Sintaxis

loadPixels()
loadPixels()
loadPixels()
loadPixels()

Parámetros


Referencias Relacionadas