On Friday 05 March 2004 18:31, Shunming Fang wrote:
> Hello, guys,
> I need to access the pixel value of an image through QImage, I can get
> voidptr or its int after I call bits(). I think the int of voidptr is
> the physical address of image. Can you please give me a piece of code
> about how to use voidptr address the real data in image or other memory?
> I didn't have any clue about how to use it.

You either need to pass the int() value to something else that can use it, or 
copy it to a Python string using the asstring() method.

Phil

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to