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?
I guess ImageMagick should do what you want (and even more)
convert image.xcf image.png