[Gimp-user] gimp 2.2 -> 2.4, python-fu: what's the difference?

Kristian Rink kawazu at zimmer428.net
Tue Aug 26 05:07:29 PDT 2008


Folks;

dealing with python-fu quite a while ago (early gimp 2.2, I guess), I
haven't dealt with this for quite a while, just to stumble across it once
again by now, figuring out a few things obviously changed:

- Initially, I used to write up a script, dump it to .gimp/plug-ins, start
the Gimp and find its procedures using the gimp Procedure Browser searching
for "python-fu". It's not the case anymore now, despite the file being still
in .gimp-2.4/plug-ins/ and being marked executable and the code structure
not having changed.

- Likewise, I used something like this to register the script with The Gimp:

register(
   ”python_fu_mergesofned”,
   ”merge picture with a blurred version of itself”,
   ”merge picture with a blurred version of itself”,
   ”Kristian Rink”,
   ”Kristian Rink”,

   ”2005″,
   ”<Image>/Python-Fu/z428/LayeredSoftness”,
   ”RGB*,GRAY*”,
   [],
   [],

   mergesofned)


... which obviously doesn't work again as the <Image>/Python-Fu menu is gone
and I fail to relocate the menu entry elsewhere, no matter what I enter as
menu path (<Image>/Filters/Python/... failed...). What to do here? Is there
some pointer outlining how to deal with python scripts in Gimp 2.4?

Any help / hints greatly appreciated. :)

Cheers & best regards,
Kristian



More information about the Gimp-user mailing list