luochen601
26th July 2010, 10:08
The pBuf is from web camera. Please see below:
QImage image(pBuff, 320, 240, 320*3, QImage::Format_RGB888);
mpLbl->setPixmap(QPixmap::fromImage(image));
The label can display this vedio successful, but it looks green against to normal.
What is the problem?
QImage image(pBuff, 320, 240, 320*3, QImage::Format_RGB888);
mpLbl->setPixmap(QPixmap::fromImage(image));
The label can display this vedio successful, but it looks green against to normal.
What is the problem?