首页| 论坛| 消息

标题:关于bool QImage::loadFromData 这个函数的问题
作者:haozi
日期:2006-12-29 17:31
内容:

由参考文档中:
bool QImage::loadFromData ( const uchar * buf, uint len, const char * format = 0 )
If format is specified, the loader attempts to read the image using the specified format. If format is not specified (which is the default), the loader reads a few bytes from the header to guess the file format.
其中format的解释不太明白啊!希望各位帮帮忙,知道的告诉我一下!谢谢~~


#1 [XChinux 01-07 17:15]
直接写后缀名, char*类型的.比如 png, bmp, jpg,xpm等
#2 [haozi 01-08 17:48]
谢谢~~~

回复 发表
主题 版块