Re: [Gimp-developer] pathon-scripts with GEGL?



Assuming were talking about gegl-master here, what are you unable to
do via introspection? The introspection bindings have full coverage of
the GEGL API. Mainipulating pixels directly (rather than though
operations) involves more copying in Python than is C because Python
has no concept of mutable buffers. It would be possible to expose
things via ctypes or numpy, but that requires writing a CPython module
and will probably not be part of GEGL itself.

To get/set raw pixels from from a gegl buffer use Buffer.get(...) and
Buffer.set(...).


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]