GIMP

266 readers
14 users here now

All about the GNU Image Manipulation Program • Please tag your help-me posts with [Help]. • YouTube Channel spamming will not be tolerated. • Blogspam will not be tolerated.

founded 2 years ago
MODERATORS
1
2
 
 
3
 
 

I tried both the "Hello, World" one, and the Goat one.

I saved the "Hello, World" one as C:\Users\Me\AppData\Roaming\GIMP\3.0\plug-ins\py3-hello-world\py3-hello-world.py as instructed. I did the same for the goat one, but named it "goat-exercise-py3". I double-checked the plug-ins folder path in Preferences, and that's one of the two.

Incidentally, the code in the two files are different in regards to initializing the plugins. The Goat one includes ".py" in the call to init, but the "Hello, World" one does not:

GimpUi.init("goat-exercise-py3.py")

plug_in_binary = "py3-hello-world"
GimpUi.init(plug_in_binary)

I tried using the nominal shebang line included, and also tried changing it to an actual path to Python on my system. I can see GIMP attempt to load py3-hello-world.py during startup, but when I create a new file and look for it anywhere in GIMP, including the Procedure Browser, I don't see it.

I've made a few python plugins for GIMP 2 using python fu, and have had no trouble with them, but I can't get either of these demo ones to load. I don't even know where the "Hello, World" one is supposed to show with a menu path like this: "<Image>/Hell_o Worlds", so I changed it to "<Image>/File/Hell_o Worlds" like I've done for custom export scripts I've made for GIMP 2.

Any ideas?

4
5
2
submitted 5 days ago* (last edited 5 days ago) by [email protected] to c/[email protected]
 
 

This is a patch for GIMP that makes UI look similar to Adobe Photoshop.

6
0
GIMP 3.0.0 tagged (gitlab.gnome.org)
submitted 1 week ago* (last edited 1 week ago) by [email protected] to c/[email protected]
 
 

Draft Release Notes: https://testing.gimp.org/release-notes/gimp-3.0.html

Will soon be published to Flathub

7
 
 

I'm often using the Select by Color or Fuzzy Select tool. ¿Is there a quick way to increment the threshold with a keyboard shortcut, the mouse wheel, or similar?

Take the following example:

Given the image of the GIMP mascot, I want to select only certain portions, for instance the outer white part.

To do this I activate the Select by Color or the Fuzzy Select tool. Set the threshold to a starting value (let's say 15), then click on a white part at the edges of the image. But I'm not quite satisfied with the resulting selection: it selects most of the area I want but not enough of the greyish shadow below the chin. So I adjust the threshold to 50 and click again. Still not enough, set to 90 and lick again. A bit too much, set to 80 and click another. Almost there, set to 85 and click. Set to 83 and finally voilá.

That involved a lot of clicking and typing though. ¿Is there a quicker way to do this? Ideally I would like to see a live update of the selection as I change the threshold, so that I can simply drag the slider or scroll the mouse wheel until it's perfect.

Maybe I'm simply using the wrong tool and there's are completely different inroads to achieve this. I'd like to know about those as well.