ponty / pyscreenshot

Python screenshot library, replacement for the Pillow ImageGrab module on Linux.
BSD 2-Clause "Simplified" License
502 stars 88 forks source link

added bounding box support to the gtkpixbuf wrapper #20

Closed BillyBumbler closed 9 years ago

BillyBumbler commented 9 years ago

Capturing a smaller area is faster than capturing the whole screen and cropping it. I changed the way the current bounding box is used, to only capture the part of the image that you need, thus removing the need to crop the image. This should be backward compatible with existing code. This is my first contribution to an open source project so be gentle. :-)

ponty commented 9 years ago

Thanks for the contribution!