How to cast the returned pointer of uchar * QImage::scanLine(int i) to QRgb?
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