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.
class_docstr_tok: ["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","."]
docstr: Get the Tkinter bitmap image identifier.  This method is automatically
  called by Tkinter whenever a BitmapImage object is passed to a Tkinter
  method.
  
  :return: A Tkinter bitmap image identifier (a string).
docstr_tok: ["Get","the","Tkinter","bitmap","image","identifier",".","This","method","is","automatically","called","by","Tkinter","whenever","a","BitmapImage","object","is","passed","to","a","Tkinter","method",".",":","return",":","A","Tkinter","bitmap","image","identifier","(","a","string",")","."]
code: def __str__(self):
      """
      Get the Tkinter bitmap image identifier.  This method is automatically
      called by Tkinter whenever a BitmapImage object is passed to a Tkinter
      method.
  
      :return: A Tkinter bitmap image identifier (a string).
      """
      return str(self.__photo)
  
file_path: pillow-simd/src/PIL/ImageTk.py
imports: import tkinter
  from io import BytesIO
  from .None import Image
label_desc: Use image node_id 5 for calling the BitmapImage obj's underlying member method code with example usage: obj.__str__() and returns: str