| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 5,114
» Latest member: DanielBub
» Forum threads: 7,804
» Forum posts: 42,394
Full Statistics
|
| Latest Threads |
How to make a mask from a...
Forum: Extending the GIMP
Last Post: gasMask
4 hours ago
» Replies: 9
» Views: 305
|
freeze on export
Forum: Gimp 2.99 & Gimp 3.0
Last Post: alpheratz
7 hours ago
» Replies: 3
» Views: 3,185
|
how to use different font...
Forum: General questions
Last Post: sallyanne
Today, 12:35 AM
» Replies: 9
» Views: 520
|
Gimp 3.x scanner xsane pl...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: mrseudo
Yesterday, 10:54 PM
» Replies: 16
» Views: 16,681
|
How to rotate selection
Forum: General questions
Last Post: rich2005
Yesterday, 10:15 PM
» Replies: 2
» Views: 117
|
Cannot open camera raw im...
Forum: Windows
Last Post: Zbyma72age
Yesterday, 05:33 PM
» Replies: 2
» Views: 173
|
nikgimp - a NikCollection...
Forum: Extending the GIMP
Last Post: ersc57
02-07-2026, 08:41 AM
» Replies: 4
» Views: 3,891
|
Ofnuts
Forum: General questions
Last Post: sallyanne
02-07-2026, 05:29 AM
» Replies: 0
» Views: 138
|
arakne path shapes
Forum: Extending the GIMP
Last Post: sallyanne
02-07-2026, 05:18 AM
» Replies: 7
» Views: 536
|
How to apply layer to obj...
Forum: General questions
Last Post: rich2005
02-05-2026, 03:59 PM
» Replies: 1
» Views: 224
|
|
|
| Automation questions. |
|
Posted by: PSNick - 10-10-2019, 01:00 AM - Forum: Scripting questions
- Replies (6)
|
 |
Hello,
I am using Python 3 to edit some images successfully using PIL, but there are things that I'm unable to do with it and was hoping to call gimp from python for those specific tasks.
What I'm currently manually doing in GIMP and need to automate is:
1. Open Image
2. Select by color
3. Shrink selection
4. Select > To path
5. Export path.. [as svg] (accessing the svg information without saving the file would also work)
From what little I could see in the python console inside GIMP the following procedures can be scripted that seem to match the above requirements, though I wouldn't know how to do so yet:
1. file-png-load
2. gimp-image-select-color
3. gimp-selection-shrink
4. plug-in-sel2path
5. Can't find any.
What would be the best way to automate this process from the command line?
Thank you,
Nick
|
|
|
| Subtract From Selection. Bucket-Fill-Tool outside shape |
|
Posted by: datalars@mail.com - 10-05-2019, 01:25 PM - Forum: Older Gimp versions (2.8, 2.6....)
- Replies (6)
|
 |
I'm a total gimp-newbie and this is probably an easy thing to do but I'm failing. I have three layers.
Layer 1. An image
Layer 2. A color(I chose foreground) which I have made a bit transparent.
Layer 3. A shape that does not totally cover layer two.
This shape I filled with a color with Bucket-Fill-Tool. That was no problem. But I want to fill the area outside the shape instead. I tried to do
Layer -> Transparency -> Subtract From Selection
but it didn't work. Any help is appreciated.
|
|
|
| Subtract From Selection. Bucket-Fill-Tool outside shape |
|
Posted by: datalars@mail.com - 10-05-2019, 01:07 PM - Forum: General questions
- Replies (1)
|
 |
I'm a total gimp-newbie and this is probably an easy thing to do but I'm failing. I have three layers.
Layer 1. An image
Layer 2. A color(I chose foreground) which I have made a bit transparent.
Layer 3. A shape that does not totally cover layer two.
This shape I filled with a color with Bucket-Fill-Tool. That was no problem. But I want to fill the area outside the shape instead. I tried to do
Layer -> Transparency -> Subtract From Selection
but it didn't work. Any help is appreciated.
I just realized I posted in the wrong Forum. Sorry about that. This can be deleted.
|
|
|
| ofn-interleave-layers |
|
Posted by: Ofnuts - 10-04-2019, 10:24 PM - Forum: Extending the GIMP
- Replies (1)
|
 |
This is the successor of interleave-layers:
- Support for the Gimp 2.10 layer modes (but should still work in Gimp 2.8)
- Better handling of the layer names
- Repackaged as .ZIP with self-contained documentation
At the usual place. Enjoy.
|
|
|
|