title: HTML5 canvas, scale image after drawing it
body: <p>I'm trying to scale an image that has already been draw into canvas.
  This is the code:</p>
  
  <pre><code>      var canvas = document.getElementById('splash-container');
        var context = canvas.getContext('2d');
        var imageObj = new Image();
  
        imageObj.onload = function() {
          // draw image at its original size
          context.drawImage(imageObj, 0, 0);
        };
        imageObj.src = 'images/mine.jpeg';
  
  
          // Now let's scale the image.
          // something like...
          imageObj.scale(0.3, 0.3);
  </code></pre>
  
  <p>How should I do?</p>