title: Overwrite Existing Image
body: <p>I have this code  </p>
  
  <pre><code>    private void saveImage()
      {
          Bitmap bmp1 = new Bitmap(pictureBox.Image);
          bmp1.Save("c:\\t.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
          // Dispose of the image files.
          bmp1.Dispose();
      }
  </code></pre>
  
  <p>i already have an image <strong>t.jpg</strong> at my drive <strong>"c:\"</strong>.<br>
  i wanted to replace it with a new image every time my program runs. but a GDI+ error shows up<br>
  how could i fix it?</p>