Choclo is a project mainly written in Python, it's free.
Python Image Thumbnails
Python Image Thumbmails