XCF is a file format from the raster graphics category developed by GIMP. The specified extension is considered the standard image format specifically for the GIMP graphics editor. In its characteristics, XCF is very similar to the PSD raster graphics format, which is native to Photoshop. XCF files do not support the function of saving the "history of cancellations", however, for other characteristics, they are highly praised by experts. So, they retain channels, transparency, layers, guides. Data compression in this format is lossless. The name of the format is associated with the organization of experimental computing (eXperimental Computing Facility) of the University of California, Berkeley.
PNG is a raster image format developed by PNG Development Group. The name PNG is an abbreviation for Portable Network Graphic. This image format is used primarily on the Internet for posting on web pages, since PNG files use Deflate compression without losing quality. The development of this format was undertaken in order to replace the GIF format, to which there were many complaints. PNG's image quality and specifications were much better, but unlike GIF, it does not support animation and uses the CMYK palette.