我正在尝试通过内存流保存一个BitmapImage (System.Windows.Media.Imaging),这样结果就可以用来创建一个位图(System.Drawing)。内存流的属性似乎表明发生了读取或写入超时。WriteTimeout = 'msOut.WriteTimeout' threw an exception of type 'System.InvalidOperationException'
我有一个Mat图像为我的系统,我想要能够存储在我的sqlite数据库。因此,我想我需要尝试将它转换为一个字节数组,以便能够存储它。但我不确定这是正确的,因为我不知道如何使用我得到的值,如果我要从数据库访问它,以便能够将它转换回原来的Mat映像。下面是我到目前为止得出的结论: int length = (int) (ma