Trolltech Home | QSA-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

QSA-interest Archive, December 2005
Displaying a raw video image file


Message 1 in thread

Hello all:

I have what is probably a newbie question.  I've got a raw data buffer that 
I input from a video capture card.  It is an image of 640x480 with a pixel 
depth of  1 (monochrome).  I'm trying to get it to display on the screen and 
I've tried a QPixmap using the 'loadFromData' method but I can't seem to get 
that to work.

Any suggestions on how to convert the data buffer to something I can 
display?

Thanks - Jim 


To unsubscribe - send "unsubscribe" in the subject to qsa-interest-request@xxxxxxxxxxxxx


Message 2 in thread

Oops, sorry, I posted to the wrong group :(


"Jim Holman" <tessthedobe@xxxxxxxxx> wrote in message 
news:dove6m$oqo$1@xxxxxxxxxxxxxxxxxxxxx
> Hello all:
>
> I have what is probably a newbie question.  I've got a raw data buffer 
> that I input from a video capture card.  It is an image of 640x480 with a 
> pixel depth of  1 (monochrome).  I'm trying to get it to display on the 
> screen and I've tried a QPixmap using the 'loadFromData' method but I 
> can't seem to get that to work.
>
> Any suggestions on how to convert the data buffer to something I can 
> display?
>
> Thanks - Jim
> 


To unsubscribe - send "unsubscribe" in the subject to qsa-interest-request@xxxxxxxxxxxxx