Get an array of pixels from an image file using node.js
You can try https://www.npmjs.com/package/jimp This could be useful:
Jimp.read("http://www.example.com/path/to/lenna.jpg", function (err, image) {
image.getPixelColor(x, y); // returns the colour of that pixel e.g. 0xFFFFFFFF
});
To get RGB you can use:
Jimp.intToRGBA(hex); // e.g. converts 0xFFFFFFFF to {r: 255, g: 255, b: 255, a:255}
If your image is in PNG format, have a look at https://github.com/devongovett/png.js/