Re: [Gimp-developer] How to deal with pixel-per-pixel operations?

On Tue, Jun 11, 2013 at 11:05 AM, Alessandro Francesconi <
alessandrofrancesconi live it> wrote:

Thanks for the answer, I’m not new on GIMP plugin’s development but I’m
totally new on GEGL operations!

After a first look, it seems that none of the standard plugins from the
GIMP’s procedure database use GEGL for their operations, and the only way
to test a operation made with GEGL is to open this dialog:

.... am I wrong?

I mean, is it possible to define a new plugin using the classical method
with ’gimp_install_procedure()’, making it accessible through the PDB and
writing a ”complex” user interface with GTK, but using GEGL APIs for the
image manipulation phase?

Take a look at goat-exercise.c in gimp/plug-ins/common, it shows how to get
and manipulate image drawables as GeglBuffers. For documentation on GEGL
see or the docs dir of your own GEGL build.

«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson                  

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