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.
JPEG is one of the most popular graphic formats used for storing still images and similar images. JPEG algorithm is capable of compressing the image as lossy and lossless. The most widely used JPEG received in digital photography and picture archiving and communication via the Internet. JPEG compression is not suitable for drawings, text and iconic graphics.