qt-interest@trolltech.com
[Top] [All Lists]

Re: 32bit RGB RAW to QImage

Subject: Re: 32bit RGB RAW to QImage
From: "Luis Sobrecueva"
Date: Tue, 11 Jul 2006 18:50:57 +0200
You can use this static function

QImage QImage::fromData ( const uchar * data, int size, const char * format = 0 )

Show http://doc.trolltech.com/4.1/qimage.html#fromData


On 7/11/06, naresh@xxxxxxx <naresh@xxxxxxx> wrote:
Hi, i wrote a module (using video4linux) that takes one frame from
TVCard and stores it in usnigned char* as 32bit RGB Raw data... how
can i convert it into QImage, QPixmap or QBitmap... QBitmap has
static member from data but it only allows only Fromat_Mono or
Format_MonoLSB

Any ideas?

--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/


<Prev in Thread] Current Thread [Next in Thread>