HObject转为HImage

 private void HObjectToHImage(HObject obj, ref HImage img)
        {
            HTuple pointer, type, width, heght;
            HOperatorSet.GetImagePointer1(obj, out pointer, out type, out width, out heght);
            img.GenImage1(type, width, heght, pointer);
        }
原文地址:https://www.cnblogs.com/larry-xia/p/9236904.html