If I have an XCF file (or any other supported by Gimp) how can I convert it to, for example, PNG for display or further processing?
A very good solution (and explanations!) can be found here. In short, there is a bash script feeding scheme/lisp to gimp
#!/bin/bash { cat <
But look at the page for the full story. It's worth it.