* xcf2pnm converts XCF files to ppm, pgm or pbm format, flattening layers if necessary. If the image contains transparency, an alpha map can be written to a separate file, or a background color can be specified on the command line.
* xcf2png converts XCF files to PNG format, flattening layers if necessary. Transparency information can be kept in the image, or a background color can be specified on the command line.
* xcfinfo lists information about layers in an XCF file.
The tools can either flatten an XCF file as given, or extract specific layers named on the command line.