| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,014
» Latest member: ymatecom
» Forum threads: 7,746
» Forum posts: 42,092
Full Statistics
|
| Latest Threads |
y1mate- Master Youtube An...
Forum: Other graphics software
Last Post: rich2005
37 minutes ago
» Replies: 1
» Views: 83
|
Problems with AppImages.
Forum: Installation and usage
Last Post: teapot
Yesterday, 07:45 PM
» Replies: 2
» Views: 320
|
Why am'I fighting with GI...
Forum: Linux and other Unixen
Last Post: NetWeeZurd
Yesterday, 01:44 AM
» Replies: 2
» Views: 174
|
Can tooltip display time ...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: NetWeeZurd
Yesterday, 01:40 AM
» Replies: 4
» Views: 1,310
|
Problem posting an update...
Forum: Gimp-Forum.net
Last Post: Scallact
12-21-2025, 10:19 PM
» Replies: 19
» Views: 974
|
Paint bucket acts "weird"
Forum: General questions
Last Post: PieterJW
12-21-2025, 06:59 PM
» Replies: 7
» Views: 407
|
Install gimp user manual ...
Forum: Linux and other Unixen
Last Post: rich2005
12-21-2025, 09:03 AM
» Replies: 1
» Views: 200
|
Very, very nice startup t...
Forum: General questions
Last Post: mrkid
12-18-2025, 04:37 PM
» Replies: 0
» Views: 188
|
Why does HTML/css scale i...
Forum: General questions
Last Post: Tas_mania
12-17-2025, 07:20 PM
» Replies: 1
» Views: 264
|
Path autocurves plugin (G...
Forum: Extending the GIMP
Last Post: InquisitiveAsHell
12-17-2025, 07:40 AM
» Replies: 6
» Views: 756
|
|
|
| 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...
|
|
|
| Selective color PS to GIMP |
|
Posted by: Krikor - 04-05-2024, 12:43 AM - Forum: General questions
- Replies (5)
|
 |
Hello, I would like to know if there is something in Gimp that comes close to what is seen in the shoot screens below (taken from a PS tutorial video)
In the video tutorial this step is called "Add selective color adjustment".
What I could understand is that:
First the red color was selected and then the Magenta color slider slid to the right (increasing the green, I think);
Then the color yellow was selected, and the same slider was adjusted slightly to the right again.
I looked in the Gimp menus and even in G'MIC but I didn't find anything like it - something that fixes a color and adjusts the colors in the CMYK standard.
How could I do this tutorial step using Gimp?
Thx.
|
|
|
|