title: What's the best way to set a single pixel in an HTML5 canvas?
body: <p>The HTML5 Canvas has no method for explicitly setting a single pixel.</p>
  
  <p>It might be possible to set a pixel using a very short line, but then antialising and line caps might interfere.</p>
  
  <p>Another way might be to create a small <code>ImageData</code> object and using:</p>
  
  <pre><code>context.putImageData(data, x, y)
  </code></pre>
  
  <p>to put it in place.</p>
  
  <p>Can anyone describe an efficient and reliable way of doing this?</p>