[PyQt] Qimage and scanlines
Jean-Baptiste BUTET
ashashiwa at gmail.com
Sun May 18 14:11:30 BST 2008
hi all :)
I need to do QImage -> Numpy array transformation.
I know there a possibility on writing file and read fil again with PIl for
example, but I need something less slow ;)
I'm trying scanLine method on a QImage objet, but I don't understan how it
works.
exemple :
a=[]
for i in arange(image.height()):
a.append(Qimage.scanLine(i))
give me a list of SIP object. How to convert this in value ? (it's B&W
pictures)
note : I'm a noob ;)
JB
--
http://astrolix.org
association des linuxiens astronomes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080518/0bcf824f/attachment.html
More information about the PyQt
mailing list