Jak zapisać pictureBox do pliku najlepiej bmp.
Próbowałem już:
Bitmap bmp = new Bitmap(pictureBox1.Width, pictureBox1.Height);
pictureBox1.DrawToBitmap(bmp, pictureBox1.ClientRectangle);
bmp.Save("D:\\testBmp.bmp", ImageFormat.Bmp);