Xcftools 1.0.4 Description:
Xcftools is a set of fast command-line tools for extracting information from the Gimp's native file format XCF. This tools are designed to allow efficient use of layered XCF files as sources in a build system that use 'make' and similar tools to manage automatic processing of the graphics. These tools work independently of the Gimp engine and do not require the Gimp to even be installed. Xcf2pnm converts XCF files to ppm, pgm or pbm formats, 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.