We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee553b4 + ad79342 commit d743493Copy full SHA for d743493
src/image/pixels.js
@@ -441,6 +441,9 @@ p5.prototype.filter = function(operation, value) {
441
* <br><br>
442
* See the reference for <a href="#/p5/pixels">pixels[]</a> for more information.
443
*
444
+ * If you want to extract an array of colors or a subimage from an p5.Image object,
445
+ * take a look at <a href="#/p5.Image/get">p5.Image.get()</a>
446
+ *
447
* @method get
448
* @param {Number} [x] x-coordinate of the pixel
449
* @param {Number} [y] y-coordinate of the pixel
0 commit comments