code: def _open(self):
      m = xbm_head.match(self.fp.read(512))
  
      if m:
          xsize = int(m.group("width"))
          ysize = int(m.group("height"))
  
          if m.group("hotspot"):
              self.info["hotspot"] = (
                  int(m.group("xhot")),
                  int(m.group("yhot")),
              )
  
          self.mode = "1"
          self._size = xsize, ysize
  
          self.tile = [("xbm", (0, 0) + self.size, m.end(), None)]
  
imports: import re
  from .None import Image, ImageFile
label_desc: Use image node_id 1 for calling the XbmImageFile obj's underlying member method code with example usage: obj._open() without return types