Stream s = new MemoryStream();
this.pictureBox1.Image.Save(s,System.Drawing.Imaging.ImageFormat.Wmf);
保存成.bmp就没事,但是保存成wmf就在第二行提示值不能为空的错误。
this.pictureBox1.Image是Bitmap
...全文
1457打赏收藏
image格式
Stream s = new MemoryStream(); this.pictureBox1.Image.Save(s,System.Drawing.Imaging.ImageFormat.Wmf); 保存成.bmp就没事,但是保存成wmf就在第二行提示值不能为空的错误。 this.pictureBox1.Image是Bitmap