This is a monochrome image format with a bitmap structure. It is used to store images of icons and cursors in the X Window System graphical user interface, which is used for remote connections. The structure of an XBM file consists of simple text written in the C programming language.
PNG is a raster graphic data storage format that uses lossless compression algorithm to Deflate. PNG was created as a free format to replace GIF. PNG supports three main types of raster images: grayscale image, a color indexed image and the color image. PNG format stores graphical information in a compressed form.