object Image.XBM._decode(string data) object Image.XBM._decode(string data, object mappingoptions)
Decodes a XBM image to a mapping.
Supported options: ([ "fg":({fgcolor}), // Foreground color. Default black "bg":({bgcolor}), // Background color. Default white "invert":1, // Invert the mask ])
Throws upon error in data.