code: def tkPhotoImage(self):
      from PIL import ImageTk
  
      return ImageTk.PhotoImage(self.convert2byte(), palette=256)
  
imports: from __future__ import print_function
  import os
  import struct
  import sys
  from PIL import Image, ImageFile
label_desc: Use image node_id 7 for calling the SpiderImageFile obj's underlying member method code with example usage: obj.tkPhotoImage() and returns: ImageTk