web_modules/jsgif/index.js
function getImagePixels() {
    var w = width;
    var h = height;
    pixels = [];
    var data = image;
    var count = 0;

    for (var i = 0; i < h; i++) {

      for (var j = 0; j < w; j++) {

        var b = (i * w * 4) + j * 4;
        pixels[count++] = data[b];
        pixels[count++] = data[b + 1];
        pixels[count++] = data[b + 2];

      }

    }
  }
function getImagePixels() {
    var w = width;
    var h = height;
    pixels = [];
    var data = image;
    var count = 0;

    for (var i = 0; i < h; i++) {

      for (var j = 0; j < w; j++) {

        var b = (i * w * 4) + j * 4;
        pixels[count++] = data[b];
        pixels[count++] = data[b + 1];
        pixels[count++] = data[b + 2];

      }

    }
  }
function getImagePixels ( ) { var w = width ; var h = height ; pixels = [ ] ; var data = image ; var count = 0 ; for ( var i = 0 ; i < h ; i ++ ) { for ( var j = 0 ; j < w ; j ++ ) { var b = ( i * w * 4 ) + j * 4 ; pixels [ count ++ ] = data [ b ] ; pixels [ count ++ ] = data [ b + 1 ] ; pixels [ count ++ ] = data [ b + 2 ] ; } } }
Extracts image pixels into byte array "pixels
Extracts image pixels into byte array pixels