Re: [Gimp-developer] Extending GIMP Plugins
Hello Michael, On 8/21/07, Michael Schumacher [EMAIL PROTECTED] wrote: Von: Amit Kumar Saha [EMAIL PROTECTED] Should it be more easy than writing e.g. a plug-in in Python? Yes. I am basically targeting end-users of GIMP,mainly GIMP. So learning Python for them might be not the best option due to variety of factors. Thanks -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
Hello Kevin, On 8/21/07, Kevin Cozens [EMAIL PROTECTED] wrote: As Michael mentioned, using a scripting language such as Perl, Python, or Ruby would be to do most things you might want to do. If you want to extend a compiled plug-in that is also possible. Take a look at TinyScheme (used in the Script-Fu plug-in of the SVN version of GIMP). It has the ability to use run-time loadable pre-compiled extensions. The URL for TinyScheme is http://tinyscheme.sourceforge.net/. Could you please explain the pre-compiled extensions? Do you mean to say pre-compiled plugins loaded during runtime? The other scripting language plug-ins for GIMP also have ways to extend the base language. The hooks used to allow scripts to tie in to GIMP use them. Please explain that in more details. Thanks a lot -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
Hello all, Here is another way I thought I could give some form of extensibility to a plugin user. Say, that I want my plugin to be a single entry point to all the Image processing operations possible with GIMP. What I do is display all the GIMP functions to the Plugin user via the Plugin User Interface(GUI). Then the user selects the operation that is to be performed and the plugin sets off to do the necessary job. I am assuming here that the functions of the GIMP that I list for the user is only those for which there exists a API entry in the libGimp. In the background when the user selects a particular operation, the corresponding API function is called. This is of course an assumption to simplify the thought process. Am i thinking in a way that could possibly be implemented? or is the word extensible remotely applicable to my idea? Waiting for your comments! -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
Hello Kevin, On 8/23/07, Kevin Cozens [EMAIL PROTECTED] wrote: That looks similar to the types of things one can do with GEGL which is due to be integrated in to GIMP after the 2.4 release. I shall have a look at GEGL. Thanks -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
Hi Raphael, On 8/23/07, Raphaël Quinet [EMAIL PROTECTED] wrote: On Wed, 22 Aug 2007 23:19:30 +0100, David Marrs [EMAIL PROTECTED] wrote: Not only in the music world. Around 1993 or so, I remember using a program called Khoros Cantata to design some image filters. A quick search on the web returned this tutorial with screenshots of the old X11 version that I used: http://www.cse.psu.edu/~cg585/cantata-over.html The link is dead.Any chance you have some docs with you? Regards -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
On 8/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: google Khoros Cantata That is the first thing I did when I got the dead link. One of the results I got was the dead Link. The others were about the commercial products that uses that concept of glyphs. Though i got a vague idea of what it was, but more information is desired. Regards -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
Hi Kevin, On 8/23/07, Kevin Cozens [EMAIL PROTECTED] wrote: That looks similar to the types of things one can do with GEGL which is due to be integrated in to GIMP after the 2.4 release. I was just having a look at GEGL gallery (http://www.gegl.org/gallery/index.html) applications. The concept of XML file to specify a pipeline of Image processing operations is basically clear to me. However I would like to know a few things: 1. It seems from the documentation that, I can specify the operations as a XML file as above instead of creating a DAG. How do i then use that file to apply the operations? What about error checking? What operations are supported? 2. Can I work with the individual pixels of an Image using GEGL? Say I want GEGL to work with only certain range of pixels of my Image, is it possible? Thanks , -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Extending GIMP Plugins
Hello all, On 8/27/07, Øyvind Kolås [EMAIL PROTECTED] wrote: According to the plan GEGL will replace all code in the GIMP that is accessing and or modifying pixels, some forms of GIMP plug-ins will most likely be entirely replaced by GEGL plug-ins instead. And as mentioned elsewhere in this thread, GEGL plug-ins can either be descriptions of graphs, or actual C code. Another option that should already be possible if someone is thus inclined, is actually to write a GIMP plug-in for GIMP 2.4 that allows GEGL plug-ins to be used directly by current versions of GIMP, this is less interesting than another bridge that will have to be written, which is a wrapper for (at least some of) the exisitng GIMP plug-ins to work from within GEGL, this will be needed to provide legacy support for some of the older plug-ins (these plug-ins will thus still work, but have limitations wrt bit-depth and such). My current work at hand will possibly require me to write a plugin for GIMP (current version) which will use GEGL for its image processing operations. So if I proceed, I shall let the list know. Here a couple of more queries: 1. Does any of the developers here have some demo C code which takes in a XML file specification of the operations and performs the image processing tasks using GEGEL? 2. Can I assume safely that most of the image processing operations are applying the same operation to each pixel of the image? Thanks -- Amit Kumar Saha [URL]:http://amitsaha.in.googlepages.com ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer