| Welcome, Guest |
You have to register before you can post on our site.
|
| Latest Threads |
How do I color Bevel Text...
Forum: General questions
Last Post: rich2005
Yesterday, 12:36 PM
» Replies: 8
» Views: 389
|
Gimp 3.x scanner xsane pl...
Forum: Gimp 2.99 & Gimp 3.0
Last Post: rich2005
Yesterday, 09:52 AM
» Replies: 22
» Views: 18,964
|
Directory & file structur...
Forum: General questions
Last Post: rich2005
Yesterday, 09:23 AM
» Replies: 1
» Views: 135
|
Batcher - Batch Image Pro...
Forum: Extending the GIMP
Last Post: iborg
03-17-2026, 09:01 PM
» Replies: 8
» Views: 13,396
|
GIMP: The Movie | Officia...
Forum: Gallery
Last Post: LunarEcho
03-17-2026, 01:51 PM
» Replies: 2
» Views: 933
|
How do I erase items from...
Forum: General questions
Last Post: cinque888
03-17-2026, 12:09 AM
» Replies: 4
» Views: 467
|
I need it to be opaque
Forum: General questions
Last Post: rich2005
03-15-2026, 07:10 PM
» Replies: 1
» Views: 195
|
Plug-in not showing up
Forum: Extending the GIMP
Last Post: jack63ss
03-15-2026, 02:45 PM
» Replies: 4
» Views: 491
|
Help converting a basic f...
Forum: Scripting questions
Last Post: MrsP-from-C
03-14-2026, 07:43 AM
» Replies: 4
» Views: 389
|
script-fu help
Forum: Extending the GIMP
Last Post: egrivel
03-13-2026, 11:19 PM
» Replies: 6
» Views: 585
|
|
|
| How can I use file-glob to only return files with certain extensions? |
|
Posted by: charlweed - 05-10-2021, 09:38 PM - Forum: Extending the GIMP
- Replies (1)
|
 |
I'm trying to use python-fu in GIMP. I would like pdb.file_glob to return an array of image files in the format I specify. I tried:
Code:
myGlob = "*.png|*.PNG|*.jpg|*.JPG|*.gif|*.GIF|*.xcf|*.XCF"
globpath = os.path.join(patternDir, myGlob)
num_files, files = pdb.file_glob(globpath, 0)
But the files array is always empty, I assume because the glob syntax is invalid.
Note that if I use
I get the graphics files I want, but I also get files such as "fake.txt" and sub-directories, both I want to exclude.
I would also like the documentation for file-glob, I don't want to clone the repo and try and read the c++ source.
Thanks!
|
|
|
| how to blur the edges of an annular steiner chain |
|
Posted by: WoodGoat - 05-08-2021, 07:31 PM - Forum: General questions
- Replies (2)
|
 |
Hello:
I've been trying to figure out how to blend the edges of a G'mic generated annular steiner chain with round tiles. I've tried feathering by creating a channel selection then inverting it- didn't work. I then tried a gradient and that didn't work; blurs (gaussian, etc.) affect the whole image and I simply want to blur the edges of the round tiles (circles).
I'm using gimp 2.10 on win 8 64bit.
Any guidance would be greatly appreciated.
|
|
|
| How to blend the edges of a steiner chain |
|
Posted by: WoodGoat - 05-08-2021, 07:22 PM - Forum: General questions
- Replies (1)
|
 |
Hello:
I've been trying to figure out how to blend the edges of a G'mic generated annular steiner chain with round tiles. I've tried feathering by creating a channel selection then inverting it- didn't work. I then tried a gradient and that didn't work; blurs (gaussian, etc.) affect the whole image and I simply want to blur the edges of the round tiles (circles).
I'm using gimp 2.10 on win 8 64bit.
Any guidance would be greatly appreciated.
|
|
|
|