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.
JP2 is a bitmap image format JPEG 2000. This can be a picture, an image from a surveillance camera, digital fax and other. In JPEG 2000 to compress the file using the technology of wavelet transform. This allows for a smoother and sharper image and the file size compared to JPEG for the same quality is lower.