title: How to scale a BufferedImage
body: <p>Following the javadocs, I have tried to scale a <code>BufferedImage</code> without success here is my code:</p>
  
  <pre><code>BufferedImage image = MatrixToImageWriter.getBufferedImage(encoded);
  Graphics2D grph = image.createGraphics();
  grph.scale(2.0, 2.0);
  grph.dispose();
  </code></pre>
  
  <p>I can't understand why it is not working, any help?</p>