将图像缓冲区从无符号char *复制到CxImage [英] Copying the Image Buffer from unsigned char * to CxImage

查看:91
本文介绍了将图像缓冲区从无符号char *复制到CxImage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

如何将Image Buffer从unsigned char *复制到CxImage?

CxImage是第三方库-图像处理功能

Hello all,

How to copy Image Buffer from unsigned char * to CxImage ?

CxImage is the third party library - Image processing function

//////////// Copying from cximage to unsigned char *

CxImage CxBuffer;

unsigned char * uc_Buffer = CxBuffer.GetBits();

////// HOW TO DO IN REVERSE //////////////////




从无符号char *复制到CxImage ?????




COPYING FROM unsigned char * to CxImage ?????

推荐答案

使用

Use

CreateFromArray (BYTE* pArray,DWORD dwWidth,DWORD dwHeight,DWORD dwBitsperpixel, DWORD dwBytesperline, bool bFlipImage)



将图像的现有二进制表示形式转换为CxImage对象.



to convert an existing binary representation of an image into a CxImage object.


这篇关于将图像缓冲区从无符号char *复制到CxImage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆