[PyQt] 回复: how to cast the returned pointer of QImage::scanLine(int i) toQRgb ? format is Format_RGB32

iMath 2281570025 at qq.com
Fri Jan 10 12:04:04 GMT 2014


ok.BTW, if it is possible ,I think functions returning pointer in Qt should return Python memoryview object in PyQt .




------------------ 原始邮件 ------------------
发件人: "phil";<phil at riverbankcomputing.com>;
发送时间: 2014年1月10日(星期五) 下午5:45
收件人: "iMath"<2281570025 at qq.com>; 

主题: Re: how to cast the returned pointer of QImage::scanLine(int i) toQRgb ? format is Format_RGB32



On 10-01-2014 5:20 am, iMath wrote:
> how to cast the returned pointer of
>
> UCHAR * QIMAGE::SCANLINE(INT_ I_)
>
>  to QRgb ? the image format is Format_RGB32

You have to interpret the data yourself.

Please ask questions on the mailing list.

Phil
.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140110/bc495b5e/attachment.html>


More information about the PyQt mailing list