Python Forum
[PyGUI] Screenshot in tkinter - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: GUI (https://python-forum.io/forum-10.html)
+--- Thread: [PyGUI] Screenshot in tkinter (/thread-24211.html)



Screenshot in tkinter - raghav7203 - Feb-04-2020

How to take screenshot of a particular frame of tkinter and export it as png file to a specific location in ubuntu


RE: Screenshot in tkinter - Axel_Erfurt - Feb-04-2020

Show us what you've tried so far.


RE: Screenshot in tkinter - raghav7203 - Feb-05-2020

Actually i am using pyautogui and selecting regions,but i want some automation that it always captures that particular frame,instead of providing pixels of that region.
myScreenshot = pyautogui.screenshot('image.png',region=(70,60,1000,900)).