fixed compate_images.py to run on my system

used libs/tools (Gentoo ~amd64 system):
* dev-python/pillow-2.0.0-r1
* dev-lang/python-3.2.5-r2 (selected as main python implementation using
  eselect)