XCF
From Just Solve the File Format Problem
File Formats | > | Electronic File Formats | > | Graphics | > | XCF |
XCF is the native file format for GIMP (GNU Image Manipulation Program). It supports layers and many other features.
The Wikipedia article says that the reference documentation is the source code for GIMP itself.