Reference loadPixels()

loadPixels()

Loads the current value of each pixel on the canvas into the pixels array.

loadPixels() must be called before reading from or writing to pixels.

Examples

This page is generated from the comments in src/image/pixels.js . Please feel free to edit it and submit a pull request!

Related References