2

I am using PIL(Python Imaging Library) for grabbing the image. But grabber() throws the following error message if I minimized the window

img=ImageGrab.grab()
File "C:\Python26\lib\site-packages\PIL\ImageGrab.py", line 47, in grab
    size, data = grabber()
IOError: screen grab failed

My browser shot factory is installed in a Win 2003 Server in a VM. I am doing a remote desktop to view the browser shot factory's console.

SilentGhost
  • 287,765
  • 61
  • 300
  • 288
anish
  • 21
  • 1
  • 2

1 Answers1

0

There is a very similar question located here - it even has some alternatives and solutions, and (as Adam Bernier has written), imagegrab works only on Windows.

Community
  • 1
  • 1
zeroDivisible
  • 3,943
  • 8
  • 38
  • 62