2

I'm developing a screen shot utility in Python. At the moment it is specifically for Linux. So far I have the ability to take a screen shot of the full desktop, and have it upload to Imgur, then copy the link to clipboard. Now I want to expand into functions such as screen shots of the active window, or of a specific selection. If anyone could help, I'd love to know what kind of module would work best for this, and how to implement such a module.

Tommy
  • 21
  • 1
  • 2

1 Answers1

2

The functionality will depend on what you are using for image grabbing.

With PIL

With GTK

To take a screenshot of active window :

Also look at the pixbuf api

Off topic

There are some screen cast tools: http://pypi.python.org/pypi/castro/1.0.4

Jonathan Root
  • 535
  • 2
  • 14
  • 31
pyfunc
  • 65,343
  • 15
  • 148
  • 136