title: Get an array of pixels from an image file using node.js
body: <p>Is it possible to get an array of RGB values from a local image file using node.js? I'm trying to write a script that takes a file path as its parameter and returns an array that represents the pixel data.</p>
  
  <pre><code>function getPixelArray(filePath){
      //return an array of RGB values that correspond to the image
  }
  </code></pre>