[Qt-interest] display grayscale image?

caius ligarius caius9090 at gmail.com
Wed Apr 28 00:45:02 CEST 2010


Hi,

I am a first time user and am struggling to display a simple int* (512x512)
grayscale image pointer.

I have looked at some examples but it is still not clear. Seems like one of
the ways would be to create QGraphicsScene do an addPIxmap  and pass it to a
QGraphicsView. My question is how do I add my 12Bit int* image buffer array
which I already have in memory to addPixmap or is there some other way to do
it?


Thanks,
Caius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100427/23cde19c/attachment.html 


More information about the Qt-interest-old mailing list