tcepsa: (Computation Suspended)
[personal profile] tcepsa
I'm trying to write a Gimp script that will perform an operation on all of the files in a given directory, but I can't figure out how to get a listing of all the files in a given directory from within Gimp. What little documentation I have been able to find makes reference to an 'open-dir-stream' function, but it doesn't look like Gimp 2.6's ScriptFu includes that (at least it doesn't in the console; does it use a different interpreter for the console vs. the actual ScriptFu engine?)

Suggestions on what I ought to be looking at or whether this is even possible?

Date: 2009-01-01 01:29 am (UTC)
ext_12535: I made this (Default)
From: [identity profile] wetdryvac.livejournal.com
OK, much faster than I thought - but note I'm migrained at the moment and get to read maybe five words at a go before my head explodes. This may be far less useful than I think:

http://edivad.files.wordpress.com/2008/04/webify-1001.pdf (For doing an action to one or many files in a directory - in this case optimize for web)

Date: 2009-01-01 02:47 am (UTC)
From: [identity profile] tcepsa.livejournal.com
Hmmmm... of what I can understand of it, it does seem to be doing something similar to what I want to do (at least in the sense of hitting every file in a directory). Thanks!

Profile

tcepsa: (Default)
tcepsa

April 2015

S M T W T F S
   12 34
567891011
12131415161718
19202122232425
2627282930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 3rd, 2025 10:10 am
Powered by Dreamwidth Studios