class_docstr: A Tkinter-compatible bitmap image.  This can be used everywhere Tkinter
  expects an image object.
  
  The given image must have mode "1".  Pixels having value 0 are treated as
  transparent.  Options, if any, are passed on to Tkinter.  The most commonly
  used option is ``foreground``, which is used to specify the color for the
  non-transparent parts.  See the Tkinter documentation for information on
  how to specify colours.
  
  :param image: A PIL image.
code: def __del__(self):
      name = self.__photo.name
      self.__photo.name = None
      try:
          self.__photo.tk.call("image", "delete", name)
      except Exception:
          pass
  
imports: from __future__ import annotations
  import tkinter
  from io import BytesIO
  from .None import Image
label_desc: Use image node_id 2 for calling the BitmapImage obj's underlying member method code with example usage: obj.__del__() without return types