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:
http://docs.gimp.org/it/gimp-tool-gegl.html

.... 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 http://gegl.org/ or the docs dir of your own GEGL build.

/Ø
-- 
«The future is already here. It's just not very evenly distributed»
                                                 -- William Gibson
http://pippin.gimp.org/                            http://ffii.org/


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