我目前有一個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);