Take screenshots ** fast ** from python

A PIL.Image.grab() takes about 0.5 seconds. This is just to get screen data into my application, without any processing on my part. FRAPS , on the other hand, can take screenshots up to 30 FPS. Is there a way for me to do the same from a Python program? If not, what about program C? (I could associate it with a Python program, maybe ...)

+7
performance optimization python image screen-scraping
source share
1 answer

If you need quick screenshots, you should use a lower level API such as DirectX or GTK. There are Python shells for them, such as DirectPython and PyGTK . Some samples I found are as follows:

+3
source share

All Articles