| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,200
» Latest member: ThomasBit
» Forum threads: 7,845
» Forum posts: 42,605
Full Statistics
|
| Latest Threads |
GIMP 3.2.x not recognizin...
Forum: General questions
Last Post: rich2005
Yesterday, 08:23 PM
» Replies: 6
» Views: 251
|
how to re-color some part...
Forum: General questions
Last Post: saint_m
Yesterday, 03:32 PM
» Replies: 16
» Views: 4,882
|
Background - Foreground -...
Forum: General questions
Last Post: rich2005
Yesterday, 02:13 PM
» Replies: 1
» Views: 120
|
Batcher - Batch Image Pro...
Forum: Extending the GIMP
Last Post: denzjos
Yesterday, 06:41 AM
» Replies: 10
» Views: 13,915
|
GIMP Rename Layer (Pro) -...
Forum: Extending the GIMP
Last Post: rich2005
03-28-2026, 05:27 PM
» Replies: 3
» Views: 184
|
achieving a overdriven al...
Forum: General questions
Last Post: saint_m
03-27-2026, 05:10 PM
» Replies: 2
» Views: 276
|
GIMP: The Movie | Officia...
Forum: Gallery
Last Post: JakaBasej01
03-27-2026, 01:14 PM
» Replies: 3
» Views: 1,176
|
Severe Security Flaws in ...
Forum: Linux and other Unixen
Last Post: rich2005
03-20-2026, 04:59 PM
» Replies: 6
» Views: 321
|
Parametric Mask plug-in f...
Forum: Extending the GIMP
Last Post: denzjos
03-19-2026, 05:32 PM
» Replies: 1
» Views: 213
|
How do I uninstall GIMP 3...
Forum: Linux and other Unixen
Last Post: rich2005
03-19-2026, 04:29 PM
» Replies: 3
» Views: 2,188
|
|
|
| White balance |
|
Posted by: sl60 - 01-07-2022, 12:36 AM - Forum: General questions
- Replies (1)
|
 |
If I use the eyedropper in Levels to set the gray balance, is there a way to apply this settings to other photos?
|
|
|
| Python plugin development |
|
Posted by: Milarck - 01-06-2022, 07:26 PM - Forum: Extending the GIMP
- Replies (5)
|
 |
Hello here!
I've been trying to make a Python plugin for Gimp for two days now. For now, my goal is quite simple, I want to be able to create / duplicate layers, etc.
So I made my python file, put it in the right folder, registered it, etc.
Here is the code I got for now:
Code:
#!/usr/bin/env python
from gimpfu import *
def test_function(image, drawable):
pdb.gimp_drawable_set_name(drawable, "My new layer name")
pdb.gimp_message("Test 1")
width = drawable.width
pdb.gimp_message("Test 2")
height = drawable.height
pdb.gimp_message("Test 3")
img = gimp.image(width, height, RGB)
pdb.gimp_message("Test 4")
layer_one = gimp.layer(img, "My layer", width, height, RGB_IMAGE, 100, NORMAL_MODE)
pdb.gimp_message("Test 5")
img.add_layer(layer_one, 0)
pdb.gimp_message("Test 6")
register(
"python-fu-test-function",
"Test script",
"This is a test script",
"Me", "Me", "2022",
"Test",
"",
[
(PF_IMAGE, "image", "takes current image", None),
(PF_DRAWABLE, "drawable", "Input layer", None)
],
[],
test_function, menu="<Image>/File") # second item is menu location
main()
As a result, I got displayed in the warning console:
"Test 1"
"Test 2"
"Test 3"
And that's it. It seems that the line "img = gimp.image(width, height, RGB)" stops the script (without error message), while nothing seems particularly off with it.
Actually, this line of code was copy pasted from this documentation (sample, section 2.1).
As I'm working on this, I have the feeling to be dealing with a development that seems quite random. Not having the possibility to work in a proper development environment is really tiring, each time I'm coming up with something I have to save the python script, go in gimp, launch the script, see if it works, retry...
Do someone have advices on this matter?
Thank you very much.
|
|
|
| Keyboard shortcut for brush rotation |
|
Posted by: kmkenpo - 01-06-2022, 03:41 PM - Forum: General questions
- Replies (2)
|
 |
I am sorry if this is something that I should be able to easily find on the net... but each and every tutorial / help page, gives basically the same answer... but it simply does not work.
How do I bind AND use then activate a keyboard (or mouse wheel) shortcut that allows me to rotate a custom brush so that I do not have to constantly go back and forth with a slider to make micro-adjustments?
Thank you for any assistance.
|
|
|
| Selection, crop not working anymore |
|
Posted by: alain.roger - 01-04-2022, 04:09 PM - Forum: General questions
- Replies (1)
|
 |
Hi,
I have a weird behavior on my Linux installation.
I have Gimp 2.10.30 and I'm not able to select a part of my image or to crop it.
Icons are available and I can click on them and set a fixed ratio, but when I try to set the fixed ratio or free ration clicking on the image, nothing happen.
I have the same behavior if I use my graphic tablet.
To be clear: mode is in "replace the current selection" not in "subtract"
What's going on ?
thx
|
|
|
|