Re: [Gimp-developer] Trying to Make a Plug-In
Callie writes: Hey guys, I have very limited experience in programming, and none at all with making plugins, but I want to make a plugin that would make my life a whole lot easier. Unfortunately, it seems that all the information regarding this process is written for people who are experienced in programming or writing plugins or such, and is unintelligible to me. I wrote a pair of articles a while back for Linux Planet on writing GIMP plug-ins in Python. Although there wasn't space to teach Python from scratch, I tried to write even for people who don't have much programming background: http://www.linuxplanet.com/linuxplanet/tutorials/6720/ (part I) http://www.linuxplanet.com/linuxplanet/tutorials/6734/ (part II) My first question would be, what language should I be using and how do I set it up so that it will work. Assuming you have GIMP Python support already installed (do you have a Filters-Python-fu menu?), most people find Python easier to read than Script-fu. But Script-fu does have the advantage that there are lots of scripts available to copy, and you can count on it already being installed. ...Akkana ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
[Gimp-developer] Trying to Make a Plug-In
Hey guys, I have very limited experience in programming, and none at all with making plugins, but I want to make a plugin that would make my life a whole lot easier. Unfortunately, it seems that all the information regarding this process is written for people who are experienced in programming or writing plugins or such, and is unintelligible to me. If someone would be willing to take pity on me and help walk me through the basics, that would be a huge help. I'm work on Mac OS 10.5, which is making the problem even worse because there's next to no information out there for coding, for Gimp, on Mac. My first question would be, what language should I be using and how do I set it up so that it will work. Thank you so much~! -- Callie (via www.gimpusers.com) ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer
Re: [Gimp-developer] Trying to Make a Plug-In
On Thu, Apr 22, 2010 at 3:04 PM, Callie for...@gimpusers.com wrote: My first question would be, what language should I be using and how do I set it up so that it will work. I'd recommend python, as it is pretty easy to pick up even for the non-programmer. IIRC the OSX version of GIMP includes python support - you can check by selecting Filters-Python-Fu-Console. If that opens, you have python support. If so, place plugin (.py) files into [your home]/Library/Applications Support/Gimp/plug-ins (create directory if necessary). There's this article, which is a bit dated but still useful: http://www.gimp.org/docs/python/index.html Then you might check out the plug-in registry for plug-ins tagged 'python' and study how they are coded: http://registry.gimp.org/taxonomy/term/52 Also - you can interact with the current image (or create a new image) in the Python-Fu console, which can be useful. Also see Help-Procedure Browser. All of those functions can be called from python with pdb.finction_name() Happy hacking, Chris ___ Gimp-developer mailing list Gimp-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer