| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 4,850
» Latest member: johnrose
» Forum threads: 7,923
» Forum posts: 43,124
Full Statistics
|
| Latest Threads |
England or Argentina to p...
Forum: Watercooler
Last Post: rich2005
3 hours ago
» Replies: 8
» Views: 251
|
Warning level
Forum: Gimp-Forum.net
Last Post: Jon
Yesterday, 09:29 PM
» Replies: 4
» Views: 4,748
|
Change Border Color
Forum: General questions
Last Post: Jon
Yesterday, 12:15 PM
» Replies: 0
» Views: 105
|
CSS Border on Welcome Dia...
Forum: General questions
Last Post: Jon
Yesterday, 11:53 AM
» Replies: 8
» Views: 454
|
orange_city
Forum: Gallery
Last Post: German
Yesterday, 09:45 AM
» Replies: 0
» Views: 106
|
How to fine-tune the ligh...
Forum: General questions
Last Post: IndiePubber
07-15-2026, 09:45 PM
» Replies: 9
» Views: 850
|
Hola. Hace tiempo que est...
Forum: Extending the GIMP
Last Post: German
07-15-2026, 09:48 AM
» Replies: 2
» Views: 306
|
For the Khn and Klek fans...
Forum: Gallery
Last Post: Tas_mania
07-14-2026, 10:48 AM
» Replies: 4
» Views: 430
|
Straighten Crooked Photos
Forum: General questions
Last Post: AdmFubar
07-12-2026, 04:12 AM
» Replies: 2
» Views: 299
|
Printing Size Issue
Forum: General questions
Last Post: rich2005
07-11-2026, 08:47 AM
» Replies: 1
» Views: 212
|
|
|
| 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.
|
|
|
|