Update compare-images.pl

Removed old code.