C# image.save时出现GDI一般性错误 10
this.pictureBox_pic.Image=idCardInfo.PIC_Image;System.Drawing.Imageimg=idCardInfo.PIC...
this.pictureBox_pic.Image = idCardInfo.PIC_Image;
System.Drawing.Image img = idCardInfo.PIC_Image;
this.IdPhoto.Image = idCardInfo.PIC_Image;
System.Drawing.Image pic = idCardInfo.PIC_Image;
img.Save("C:\\Users\\Think\\Desktop\\pic\\1.bmp", System.Drawing.Imaging.ImageFormat.Bmp);
如下几点说明:idCardInfo.PIC_Image是之前获得的image格式的图片,不仅需要将其保存到"C:\\Users\\Think\\Desktop\\pic\\1.bmp",还需要在两个Image空间中显示
急求解决方法!!! 展开
System.Drawing.Image img = idCardInfo.PIC_Image;
this.IdPhoto.Image = idCardInfo.PIC_Image;
System.Drawing.Image pic = idCardInfo.PIC_Image;
img.Save("C:\\Users\\Think\\Desktop\\pic\\1.bmp", System.Drawing.Imaging.ImageFormat.Bmp);
如下几点说明:idCardInfo.PIC_Image是之前获得的image格式的图片,不仅需要将其保存到"C:\\Users\\Think\\Desktop\\pic\\1.bmp",还需要在两个Image空间中显示
急求解决方法!!! 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询