Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Screenshot problem
#6
(Mar-06-2024, 01:32 PM)DeaD_EyE Wrote: Have you tried ImageGrab? It should work now on all Operating System
Tried it today, yes it works.
My current method allows a box to be defined, so I grab only a part of the scren.
bbox = (canvasAreaStart, 10, screenWidth, verPixels)
        # Capture a specific region
        canvasArea = ImageGrab.grab(bbox=bbox)
Maybe that is possible via PIL too ?
Still am testing why I causes the app to start another instance.
thx,
paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
Screenshot problem - by DPaul - Mar-05-2024, 07:34 AM
RE: Screenshot problem - by Gribouillis - Mar-05-2024, 08:11 AM
RE: Screenshot problem - by DPaul - Mar-06-2024, 10:37 AM
RE: Screenshot problem - by DeaD_EyE - Mar-06-2024, 01:32 PM
RE: Screenshot problem - by DPaul - Mar-06-2024, 06:16 PM
RE: Screenshot problem - by DPaul - Mar-11-2024, 04:19 PM
RE: Screenshot problem - by DeaD_EyE - Mar-11-2024, 08:32 PM
RE: Screenshot problem - by DPaul - Mar-12-2024, 06:59 AM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020