Back when I ran a screenshots thread I wrote a Python script that cropped my entire screenshots folder. I don't have it anymore but the library that did the cropping was called PIL: http://stackoverflow.com/questions/9...-pil-in-python