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.
docstr: Get the width of the image.
  
  :return: The width, in pixels.
docstr_tok: ["Get","the","width","of","the","image",".",":","return",":","The","width",",","in","pixels","."]
code: def width(self):
      """
      Get the width of the image.
  
      :return: The width, in pixels.
      """
      return self.__size[0]
  
imports: from __future__ import annotations
  import tkinter
  from io import BytesIO
  from .None import Image
label_desc: Use image node_id 3 for calling the BitmapImage obj's underlying member method code with example usage: obj.width() and returns: self