Re: pygobject and buffers
- From: Matthias Vogelgesang <matthias vogelgesang gmail com>
- To: python-hackers-list gnome org
- Subject: Re: pygobject and buffers
- Date: Thu, 4 Sep 2014 11:05:48 +0200
On 09/04/14 09:49, jcupitt gmail com wrote:
How have other people done this?
I wrote a tiny Python module that converts from our GObject-based buffer
class to a NumPy array [1]. Works okay but requires a memcpy.
[1] https://github.com/ufo-kit/ufo-python-tools/blob/master/src/ufo.c
--
Matthias Vogelgesang | bloerg.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]