<div>ok.BTW, if it is possible ,I think functions returning pointer in Qt should return Python memoryview object in PyQt .</div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "phil";<phil@riverbankcomputing.com>;</div><div><b>发送时间:</b> 2014年1月10日(星期五) 下午5:45</div><div><b>收件人:</b> "iMath"<2281570025@qq.com>; <wbr></div><div></div><div><b>主题:</b> Re: how to cast the returned pointer of QImage::scanLine(int i) toQRgb ? format is Format_RGB32</div></div><div><br></div>On 10-01-2014 5:20 am, iMath wrote:<br>> how to cast the returned pointer of<br>><br>> UCHAR * QIMAGE::SCANLINE(INT_ I_)<br>><br>>  to QRgb ? the image format is Format_RGB32<br><br>You have to interpret the data yourself.<br><br>Please ask questions on the mailing list.<br><br>Phil<br>.<br></div>