|
IMAGE_SetPNG(IMAGE_Handle hObj,const void * pData,U32 FileSize)
第二个参数数据是在哪里得到了。
用BmpCvtDemo.exe得到的吗?但里面的convert to 里同有好多个格式转换,不知道选择哪个!
选择了个16bit color 565
保后的数组
GUI_CONST_STORAGE GUI_BITMAP bmth_b_off = {
90, // xSize
90, // ySize
180, // BytesPerLine
16, // BitsPerPixel
(unsigned char *)_acth_b_off, // Pointer to picture data
NULL, // Pointer to palette
GUI_DRAW_BMP444_12
};
而例子中都是
static GUI_CONST_STORAGE GUI_BITMAP _bmDolphin = {
100, // XSize
66, // YSize
100, // BytesPerLine
8, // BitsPerPixel
_acDolphin, // Pointer to picture data (indices)
&_PalDolphin // Pointer to palette
};
有没有人在5.32里面成功显示过image png图片, 我用GUI_PNG_Draw函数是可以显示png的, 但我现在想用控件来显示,比较好管理 |
|