title: node-canvas image manipulation
body: <p>I'm trying to resize and crop an image in node.js</p>
  
  <p>I've been using graphicsmagick:</p>
  
  <p>code is as follows:</p>
  
  <pre><code>gm(path)
  .resize(width, height)
  .crop(50, 50, left, top)
  .write(path, function(err){})
  </code></pre>
  
  <p>It's very simple. I have no idea how to use canvas, what's the equivalent in canvas?</p>
  
  <p>Thanks.</p>