gimp scripting/automating howto
This looks like a pretty good one:
http://www.gimpusers.com/tutorials/install-python-for-gimp-2-6-windows.html
the instructions worked like a charm
thanks!
but now I have to figure out how to work with Carol's batch-resize script.
http://carol.gimp.org/gimp/scripting/
in the version of "batch-resize" I have it does not seem possible to select a
folder.
the dialogue only says open,
no option to choose, unless it is file.
same with the target folder
so to run the the process both origin and target is file rather than a
folder.
this just ends up with a error message:
WindowsError: [Error 267] The directory name is invalid:
'C:\\FOLDERS\\P1230003.JPG/*.*'
in which FOLDERS is lots of folders,
some with spaces in the names
more info:
Traceback (most recent call last):
File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 692,
in response
dialog.res = run_script(params)
File "C:\Program Files\GIMP-2.0\lib\gimp\2.0\python\gimpfu.py", line 353,
in run_script
return apply(function, params)
File "C:\Program
Files\GIMP-2.0\lib\gimp\2.0\plug-ins\python-fu-batch-resize.py", line 62, in
python_fu_batch_resize
images = get_images(original_type, original_location)
File "C:\Program
Files\GIMP-2.0\lib\gimp\2.0\plug-ins\python-fu-batch-resize.py", line 25, in
get_images
for filename in os.listdir(original_location):
WindowsError: [Error 267] The directory name is invalid:
'C:\\FOLDERS\\P1230003.JPG/*.*'