To use XBM format, specify
xbm as the image type. This image
format doesn't require an external library, so images of this type are
Additional image properties supported for the
xbm image type are:
nilfor the default color. This color is used for each pixel in the XBM that is 1. The default is the frame's foreground color.
nilfor the default color. This color is used for each pixel in the XBM that is 0. The default is the frame's background color.
If you specify an XBM image using data within Emacs instead of an external file, use the following three properties:
:widthin this case, because omitting them is what indicates the data has the format of an XBM file. The file contents specify the height and width of the image.
heightbits. In this case, you must specify
:width, both to indicate that the string contains just the bits rather than a whole XBM file, and to specify the size of the image.