hello guys,
i have a data that i would like to write to an QImage. currently i use QImage. setpixel(). but it seems to be slow. i'm wondering if it is possible to write to the inner data of the QImage. thanks.
Printable View
hello guys,
i have a data that i would like to write to an QImage. currently i use QImage. setpixel(). but it seems to be slow. i'm wondering if it is possible to write to the inner data of the QImage. thanks.
Check out QImage::bits() - http://doc.qt.nokia.com/qimage.html#bits.