I'm processing text images for Project Gutenberg (www.gutenberg.net) and I'd like to have a script-fu script that would take a list of files (preferably a file glob) and do the following:

* read in the file (a png file that is RGB)
* Desaturate HSV
* Merge the layers of the desaturated image
* Save the file to a new directory, but with the same name

This should be simple, but I can't get the hang of script-fu (my lisp is terribly rusty). I can't even find the right commands. Can some kind soul help me?

I'm assuming this could be done non-interactively and that I'd just have to pass the script the file glob and the name of the new directory.

Thank you so very much,

William Fishburne
Gimp-user mailing list

Reply via email to