示意代码如下:
1 GetImagePointer1(ho_Image, &hv_Pointer, &hv_Type, &hv_Width, &hv_Height); 2 BYTE *p=(BYTE *)hv_Pointer[0].L(); 3 int height= (Hlong)hv_Height; 4 int width = (Hlong)hv_Width; 5 memcpy(pImage,p,width*height*sizeof(BYTE));
示意代码如下:
1 GetImagePointer1(ho_Image, &hv_Pointer, &hv_Type, &hv_Width, &hv_Height); 2 BYTE *p=(BYTE *)hv_Pointer[0].L(); 3 int height= (Hlong)hv_Height; 4 int width = (Hlong)hv_Width; 5 memcpy(pImage,p,width*height*sizeof(BYTE));
转载于:https://www.cnblogs.com/youngxin/p/4220418.html