影像處理
BitmapToByte
byte[] content;
System.Drawing.Bitmap srcImage = new System.Drawing.Bitmap(ImgPath + ImgName);
MemoryStream ms = new MemoryStream();
srcImage.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
content = ms.GetBuffer();在GDI+ 中發生泛型錯誤
跟C#語法無關
與檔案系統相關
與圖檔格式相關
Last updated