import autopy.bitmap
Unfortunately, I don't have a Vista installation to test this on, which makes it a bit difficult for me to debug.