Results 1 to 3 of 3

Thread: GIMP 2.7.2 and Python scripts question

  1. #1
      jfrazierjr is offline
    Community Leader jfrazierjr's Avatar
    Join Date
    Oct 2007
    Location
    Apex, NC USA
    Posts
    2,963

    Default GIMP 2.7.2 and Python scripts question

    I installed GIMP 2.7.2 a day or two ago on my linux box(where I have the most RAM) using a built package and apt-get(Ubuntu). I must say that I love the things I have seen so far(well.. a least the ones that work!!!) but the python plug-ins no longer work.

    From a quick google, it seems that the GIMP API has changed (as to be expected) so the python scripts are no longer able to import the new GIMP functionality. I found lot's of threads saying it's broken, but no real means to fix. The Python scripts for gimp typically call something like this:

    Code:
    from gimpfu import *
    Where gimpfu is the exposed GIMP API "container" and * imports all of the procedures to do stuff. I see the procedure browser notes the new/updated procedures, but I can't find any reference to the new method to reference the new API library. While I don't know Python more than a bit, I am a programmer and expect I could fix anything broken using the procedure browser if I could just get the reference fixed.

    Anyone have any information that might be helpful?
    My Finished Maps
    Works in Progress(or abandoned tests)
    My Tutorials:
    Explanation of Layer Masks in GIMP
    How to create ISO Mountains in GIMP/PS using the Smudge tool
    ----------------------------------------------------------
    Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.

  2. #2
      RobA is offline
    Administrator RobA's Avatar
    Join Date
    Apr 2007
    Location
    Niagara, Canada
    Posts
    5,556

    Default

    No suggestion here. That's why I'm sticking with 2.6.11 though.

    When 2.8 comes out (supposedly by year end) the python issues should be resolved. Many scripts and plugins are getting broken with this release because of the API changes. The biggest breakage seems because of layer grouping.

    -Rob A>

  3. #3
      jfrazierjr is offline
    Community Leader jfrazierjr's Avatar
    Join Date
    Oct 2007
    Location
    Apex, NC USA
    Posts
    2,963

    Default

    Thanks Rob.. I expected as much... if I knew C, I would get the source code and try to figure out the libgimp structure... but....well...

    Anyway, I have an unrelated question on 2.7/2.8: Do you know if there is a goal to add the brush presets as a drop down on the brush selection tab? I mean it seems kind of logical to me to do that instead of forcing you to switch to a different tab(ie, extra work)....
    My Finished Maps
    Works in Progress(or abandoned tests)
    My Tutorials:
    Explanation of Layer Masks in GIMP
    How to create ISO Mountains in GIMP/PS using the Smudge tool
    ----------------------------------------------------------
    Unless otherwise stated by me in the post, all work is licensed under a Creative Commons Attribution-Noncommercial 3.0 United States License.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •