title: Resize a bitmap like MS Paint - no antialiasing
body: <p>When I use this method to resize a bitmap:</p>
  
  <pre><code>    private Bitmap ResizeBitmap(Bitmap b, int nWidth, int nHeight)
      {
          Bitmap result = new Bitmap(nWidth, nHeight);
          using (Graphics g = Graphics.FromImage((Image)result))
          {
              g.SmoothingMode = SmoothingMode.None;
              g.DrawImage(b, 0, 0, nWidth, nHeight);
          }
          return result;
      }
  </code></pre>
  
  <p>It still uses antialiasing even though I specified:</p>
  
  <pre><code>g.SmoothingMode = SmoothingMode.None;
  </code></pre>
  
  <p>I want just a basic resizing without any smoothing.</p>