图片处理
Image img = Image.FromFile(@"D:\video\zz\Images\1.jpg");
Bitmap bit = new Bitmap(300,300);
Graphics g = Graphics.FromImage(bit);
g.DrawImage(img, 0, 0, 300, 300);
bit.Save(@"D:\video\zz\Images\1ss.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
g.Dispose();
bit.Dispose();