我目前有一个C#项目给我,需要将任何图像转换为1bit位图图像。 到目前为止这么好。代码工作得很好。 当coverted文件被发送给谁需要它,我只能猜测是方舟编码的节目的另一位同事也抛出这个错误: resource file res\icon3.bmp is not in 3.00 format
我怎样才能让我的应用程序保存在一个3.00格式?这是一个头部划痕的人。
我有这个函数将图像转换为字节数组。 public byte[] imageToByteArray(System.Drawing.Image imageIn)
{
MemoryStream ms = new MemoryStream();
imageIn.Save(ms, System.Drawing.Imaging.ImageFormat.MemoryBmp);