tcepsa: (Computation Suspended)
tcepsa ([personal profile] tcepsa) wrote2008-12-31 05:22 pm

Gimp Scripting

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?

[identity profile] tcepsa.livejournal.com 2009-01-01 02:47 am (UTC)(link)
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!