I have a folder of images saved in .xcf format, and I would like to batch convert them to a more convenient format. I've tried a few approaches that haven't worked:
I used to do this using IrfanView, but that no longer works because it refuses to open the latest version of .xcf files.
I tried using IMageMagick mogrify and convert, but they both give me "memory allocation failed" -- perhaps they also don't understand the new format?
I tried the xcf2png command line tool and it gives me the message "Warning: XCF version 11 not supported (trying anyway...)" before creating an empty image.
My last hope is to write a batch convert script that will work in the latest version of Gimp itself, but I don't have any experience with ScriptFu. I found a script that converts some other file types (http://beefchunk.com/documentation/lang/gimp/GIMP-Scripts-Fu.html#convertjpg-script-fu) but don't quite have the knowledge to modify it. Does anybody know the right calls/arguments to read xcf and write png?