hobject对象怎么用image.Load
发布网友
发布时间:2024-10-22 23:27
我来回答
共1个回答
热心网友
时间:7分钟前
HObject 型ho_Image转BYTE型的pImage,示意代码
GetImagePointer1(ho_Image, &hv_Pointer, &hv_Type, &hv_Width, &hv_Height);
BYTE *p=(BYTE *)hv_Pointer[0].L();
int height= (Hlong)hv_Height;
int width = (Hlong)hv_Width;
memcpy(pImage,p,width*height*sizeof(BYTE));