How to save tkinter table as an image How to save tkinter table as an image tkinter tkinter

How to save tkinter table as an image


You can always go the draw-it-yourself way. There are several modules out there that allow you draw an image. Take the coordinates of your table, column width and so on and draw it into the image.


You can take a screen shot of it.

import PIL.ImageGrab as ImageGrabscreenshot = ImageGrab.grab().load()rgb = screenshot[0, 0] print rgb

rgb would return the color value of any pixel on screen.