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.
JPG extension was assigned to the image files. Many photos and web graphics are saved in JPG. In order to compress many bitmaps are saved in .jpg, that makes it easier to transfer and download these files on the Internet. JPG format based on the 24-bit color palette, the higher the level of compression applied to create the file JPG, the greater the decompression effect on image quality.