class_docstr: PIL font wrapper
code: def _load_pilfont(self, filename):
      with open(filename, "rb") as fp:
          for ext in (".png", ".gif", ".pbm"):
              try:
                  fullname = os.path.splitext(filename)[0] + ext
                  image = Image.open(fullname)
              except Exception:
                  pass
              else:
                  if image and image.mode in ("1", "L"):
                      break
          else:
              raise IOError("cannot find glyph data file")
  
          self.file = fullname
  
          return self._load_pilfont_data(fp, image)
  
imports: import os
  import sys
  from .None import Image
  from ._util import isDirectory, isPath, py3
label_desc: Use image node_id 1 for calling the ImageFont obj's underlying member method code with example usage: obj._load_pilfont(filename) and returns: self