On Sun, 04 Nov 2012 18:53:18 +, Phil Thompson
wrote:
> On Sun, 4 Nov 2012 09:34:32 -0800, David Cortesi
> wrote:
When I try assignment,
vptr[1] = 0x00
I get the message,
TypeError: 'int' does not have the buffer interface
>>
>>> I can't reproduce this - can you se
On Sun, 4 Nov 2012 09:34:32 -0800, David Cortesi
wrote:
>>> When I try assignment,
>>> vptr[1] = 0x00
>>> I get the message,
>>> TypeError: 'int' does not have the buffer interface
>
>> I can't reproduce this - can you send a short, complete test that
>> demonstrates the problem.
>
> Her
>> When I try assignment,
>> vptr[1] = 0x00
>> I get the message,
>> TypeError: 'int' does not have the buffer interface
> I can't reproduce this - can you send a short, complete test that
> demonstrates the problem.
Here you go: Ubuntu 12.10, PyQt4 4.9.3-4
$ python
Python 2.7.3 (default
On Sat, 3 Nov 2012 12:15:21 -0700, David Cortesi
wrote:
> Following up on a stackoverflow answer re manipulating
> a QImage, I access the contents of an image by:
>
> vptr = myQi.bytes()
> vptr.setsize(myQi.byteCount())
>
> Per the Riverbank docs,
>
>> A sip.voidptr may also be given a
Following up on a stackoverflow answer re manipulating
a QImage, I access the contents of an image by:
vptr = myQi.bytes()
vptr.setsize(myQi.byteCount())
Per the Riverbank docs,
> A sip.voidptr may also be given a size... If it has a size then it is
> also able to support Python’s buffer