title: Easy way to resize image in Node.js?
body: <p>After data is loaded from filesystem, which model worth to use to resize image and return to client?</p>
  
  <pre><code>fs.readFile(process.env.OPENSHIFT_DATA_DIR + request.headers['filename'], function read(err, data) {
  
      var w = request.headers['w']
      var h = request.headers['h']
  
      response.writeHead(200)
      // CODE TO RESIZE DATA
      response.write(data)
      response.end()
  })
  </code></pre>