using Pillow 2.0 for Python 2 & 3 compatibility