title: C# paint program saving bitmap to different formats
body: <p>I am working on a program that should be basically a paint program but with the possibility to save the drawn image to like 5 formats or so. So I figured out that in order to save it I need to draw on bitmap. But when I try to save the image, in the drop down menu I have only one option and it shows the two formats next to each other, and it always saves it as .bmp.  <a href="http://s8.postimg.org/97wj3x2v9/Bez_n_zvu.jpg" rel="nofollow">http://s8.postimg.org/97wj3x2v9/Bez_n_zvu.jpg</a></p>
  
  <p>I am using a save file dialog. How can I save it to more formats? For example .jpg, .png and others?</p>
  
  <p>This is the code for saving i curently have.</p>
  
  <pre><code>    {
          saveFileDialog1.Filter = "Image Files (*.bmp, *.jpg)|*.bmp;*.jpg";
          if (saveFileDialog1.ShowDialog() == DialogResult.OK)
          {
              bitmapa.Save(saveFileDialog1.FileName);
          }
      }
  </code></pre>