c# bitmap和new bitmap(bitmap)
2021-06-21 04:03
标签:palette ret sha splay width spl csharp turn arp 问题情境: 给picturebox赋image属性,我用一下代码,出错: 困境辨析: 把bitmap赋给pictureBox1.Image不正确,应转为image再进行赋值。 c# bitmap和new bitmap(bitmap) 标签:palette ret sha splay width spl csharp turn arp 原文地址:https://www.cnblogs.com/gaara-zhang/p/10249660.htmlBitmap theBitmap = convertCameraData.display(rawDataArray, height, width, rawImageArray, rgbPalette_256, backgroundTemperature);
if (theBitmap == null) { return; }
form_Main.pictureBox1.Image = theBitmap;
Bitmap theBitmap = convertCameraData.display(rawDataArray, height, width, rawImageArray, rgbPalette_256, backgroundTemperature);
if (theBitmap == null) { return; }
form_Main.pictureBox1.Image = new Bitmap(theBitmap);
文章标题:c# bitmap和new bitmap(bitmap)
文章链接:http://soscw.com/essay/96724.html