Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to cast the returned pointer of uchar * QImage::scanLine(int i) to QRgb?
redstoneleo last edited by
how to cast the returned pointer of
uchar * QImage::scanLine(int i)
to QRgb ? the image format is Format_RGB32
since we cannot do this like in C++
uchar a = scanLine(i);
in Python and there is no QRgb in PyQt,so what should I do ?
platform: Pyton3 + PyQt4