GIMP Python plugin that uses GEGL via pygegl

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

 



I want to write a GIMP Python plugin that uses GEGL via pygegl (a Python extension that wraps GEGL.)

It seems that neither the GIMP PDB nor PyGIMP has a method to get a TileManager.  You need a pointer to a TileManager as a parameter to gegl_node_new_child() when creating an input node connecting GEGL to a GIMP drawable.

I plan to modify PyGIMP to add drawable.getTileManager(), which would call gimp_drawable_get_tiles() and return the value as a Python long.  Then you could pass that as a parameter to pygegl.new_child().

Is there an easier way, or flaws in the design?
_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gimp-developer-list


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux