Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 4,359
» Latest member: Allex
» Forum threads: 6,662
» Forum posts: 36,309
Full Statistics
|
Latest Threads |
Currently Active Image
Forum: Scripting questions
Last Post: Ofnuts
51 minutes ago
» Replies: 5
» Views: 180
|
Downloaded the full gimps...
Forum: Watercooler
Last Post: vitforlinux
Yesterday, 02:29 PM
» Replies: 2
» Views: 222
|
Darktable Images Opening ...
Forum: Windows
Last Post: sallyanne
Yesterday, 03:54 AM
» Replies: 2
» Views: 112
|
[SUGGESTION] Improved uni...
Forum: General questions
Last Post: Ofnuts
05-03-2024, 09:48 PM
» Replies: 4
» Views: 196
|
Getting active image and ...
Forum: Tutorials and tips
Last Post: Ofnuts
05-02-2024, 07:32 AM
» Replies: 0
» Views: 136
|
python-fu pdb.file_exr_sa...
Forum: Scripting questions
Last Post: JBreckeen
05-01-2024, 03:12 PM
» Replies: 0
» Views: 104
|
Threading / Loops in Pyth...
Forum: Scripting questions
Last Post: JBreckeen
05-01-2024, 02:46 PM
» Replies: 14
» Views: 1,457
|
how do i erase blue penci...
Forum: General questions
Last Post: rich2005
05-01-2024, 07:21 AM
» Replies: 1
» Views: 132
|
Align Tool: Distribute ta...
Forum: General questions
Last Post: akn_39
04-30-2024, 10:08 PM
» Replies: 3
» Views: 3,148
|
Script Collection Online
Forum: Scripting questions
Last Post: rgbellotti
04-30-2024, 01:35 AM
» Replies: 1
» Views: 436
|
|
|
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.
|
|
|
|