Re: How to deal with pixel-per-pixel operations?

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

 



On Tue, 2013-06-11 at 14:03 +0200, Alessandro Francesconi wrote:
> Got problems here...
> 
> Following the goat example, I downloaded the libgegl-dev 0.2 package (I'm on Debian)

For GIMP git master, you need babl master and gegl master, no tarballs.

--Mitch

>  and I've started including the necessary libs in my source code:
> 
> -----
> #include <libgimp/gimp.h>
> 
> #include <libgimp/gimpui.h>
> 
> #include <gegl.h>
> -----
> 
> gegl_init() is recognized, but gimp_drawable_get_buffer() and gimp_drawable_get_shadow_buffer() don't.
> They appears to be defined in the git repository, here: https://git.gnome.org/browse/gimp/tree/libgimp/gimpdrawable.h
> But looking at the gimp 2.8.4 libs I have in my machine, gimpdrawable.h does not contain those definitions!
> 
> Don't tell me... gimp_drawable_get_buffer() and similar are not yet in the set of available APIs for GIMP-dev 2.8.4.... is it right? How can I develop a GEGL plugin for 2.8.4 application in these conditions? .-.
> 
> 
> Sincerely,
> (a bit angry) Ale
> 
> 
> > From: alessandrofrancesconi@xxxxxxx
> > To: pippin@xxxxxxxx
> > Date: Tue, 11 Jun 2013 10:53:26 +0000
> > CC: gimp-developer-list@xxxxxxxxx
> > Subject: Re:  How to deal with pixel-per-pixel operations?
> > 
> > Thank you so much!
> > 
> > 
> > 
> > Ale
> > 
> > 
> > 
> > Da: Øyvind Kolås
> > Data invio: ‎martedì‎ ‎11‎ ‎giugno‎ ‎2013 ‎12‎.‎49
> > A: Alessandro Francesconi
> > Cc: gimp-developer-list@xxxxxxxxx
> > 
> > On Tue, Jun 11, 2013 at 11:05 AM, Alessandro Francesconi <alessandrofrancesconi@xxxxxxx> 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/
> > _______________________________________________
> > gimp-developer-list mailing list
> > gimp-developer-list@xxxxxxxxx
> > https://mail.gnome.org/mailman/listinfo/gimp-developer-list
>  		 	   		  
> _______________________________________________
> gimp-developer-list mailing list
> gimp-developer-list@xxxxxxxxx
> https://mail.gnome.org/mailman/listinfo/gimp-developer-list


_______________________________________________
gimp-developer-list mailing list
gimp-developer-list@xxxxxxxxx
https://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