| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
Impression au format impo...
Forum: General questions
Last Post: rich2005
Yesterday, 12:38 PM
» Replies: 3
» Views: 133
|
Open-source GIMP 3 plugin...
Forum: Extending the GIMP
Last Post: kocabiyik
Yesterday, 11:49 AM
» Replies: 2
» Views: 148
|
Disproportionate torso to...
Forum: General questions
Last Post: denzjos
Yesterday, 06:36 AM
» Replies: 4
» Views: 203
|
Picture Repair
Forum: General questions
Last Post: denzjos
07-28-2026, 04:33 PM
» Replies: 11
» Views: 638
|
image - on a website - an...
Forum: General questions
Last Post: MrsP-from-C
07-28-2026, 06:46 AM
» Replies: 5
» Views: 330
|
Where are the plugins whe...
Forum: Linux and other Unixen
Last Post: phobby
07-26-2026, 06:13 AM
» Replies: 12
» Views: 1,373
|
Hi, I'm new here, and I'd...
Forum: Extending the GIMP
Last Post: el1an
07-25-2026, 11:39 PM
» Replies: 2
» Views: 287
|
some legacy gimp smc scri...
Forum: Extending the GIMP
Last Post: jkbzh
07-25-2026, 01:03 PM
» Replies: 0
» Views: 206
|
want to combine some of t...
Forum: General questions
Last Post: sallyanne
07-25-2026, 08:59 AM
» Replies: 3
» Views: 301
|
Python-Fu Gimp 3.2.4. Get...
Forum: Extending the GIMP
Last Post: Scallact
07-23-2026, 04:32 PM
» Replies: 10
» Views: 735
|
|
|
| Ctl click unresponsive on Ubuntu. |
|
Posted by: Dubser - 04-10-2024, 11:37 PM - Forum: General questions
- Replies (5)
|
 |
Hello,
I'm using Gimp 2.10 on Ubuntu 22.04.
Using the Clone tool the Ctl key is not detected by Gimp ( the Ctl Key is working elsewere.) this is rendering Gimp unusable un Ubuntu. The problem seems to be known for a long time, I do not find any workaround. Alt Caps lock, Ctl Alt do not work more.
Any help will be appreciated.
Serge
|
|
|
| Accessing last applied Auto Levels from a script |
|
Posted by: BigMackCam - 04-08-2024, 09:07 AM - Forum: Extending the GIMP
- Replies (4)
|
 |
Hi all
I'm new to writing GIMP scripts, and relatively new to python, but slowly I'm beginning to make progress with python-fu and simple script development.
I have a process I'm currently performing manually on a regular basis, and I'd like to create a script to automate it. The manual process is as follows:
1. Select an area of the image
2. Perform Auto Levels (Colors -> Levels -> Auto Input Levels)
3. Undo Levels
4. Select all of the image
5. Re-apply the previous levels (Filters -> Repeat Levels)
In scripting the above, I've got as far as step 4 successfully - but for step 5 I'm stuck, as I can't find any procedure in the pdb that lets me re-apply the previous levels. After a bit of searching online, I found that GIMP writes these values to a GimpLevelsConfig.settings file in the AppData\Roaming\GIMP\2.10\Filters directory (on my installation, at least) - and if I look in this file, I can indeed see the levels last applied... but I can't find any procedure that will let me retrieve the values.
So... my questions to the esteemed and knowledgeable python scripters here are:
1. Is there a way to call the Filters -> Repeat Levels function via an existing internal GIMP procedure?
2. If "no" to the above, is there a way to access the levels values last applied without resorting to the "GimpLevelsConfig.settings" file?
3. If "no" to the above, is there a way of reading the file via one or more existing internal GIMP procedures?
4. If "no" to the above, (a) how do I obtain the directory for the file (in case it's configured differently across versions and platforms), and (b) can anyone help me with guidance on reading and parsing the file to a set of variables?
Any assistance for this rank novice would be greatly appreciated. Thanks in advance!
Mike
PS. Sorry, I forgot to mention, I'm running GIMP 2.10 on Windows, Ubuntu and Fedora environments...
|
|
|
|