src/libraries/img/img.js
function (canvas) {
    this.width = canvas.width;
    this.height = canvas.height;
    var ctx = canvas.getContext('2d');
    this._data = ctx.getImageData(0, 0, this.width, this.height);
    this.array = this._data.data;
}
function (canvas) {
    this.width = canvas.width;
    this.height = canvas.height;
    var ctx = canvas.getContext('2d');
    this._data = ctx.getImageData(0, 0, this.width, this.height);
    this.array = this._data.data;
}
function ( canvas ) { this . width = canvas . width ; this . height = canvas . height ; var ctx = canvas . getContext ( '2d' ) ; this . _data = ctx . getImageData ( 0 , 0 , this . width , this . height ) ; this . array = this . _data . data ; }
IMAGE PIXELS.
IMAGE PIXELS .