I want to be an image with a arrya data
I keep it in a bmp file.
My code is as follows:
connect( socket, SIGNAL(readyRead()), this, SLOT(recv()));
emit newMessage(this, "<command>", QString(message));
data come from a TCP connection and is an image taken by a camera.
How I can save a. Bmp file named c: / pic3.bmp?
and no means fromimagedata * of the following expression:
QImage image(fromimagedata *,640, 480,QImage::Format_RGB16);