Image Comparison with Imagick http://php.net/manual/en/imagick.compareimages.php Installation PECL imagick 2.0.0: https://pecl.php.net/package/imagick/2.0.0 $ sudo pecl install imagick Add this line to your php.ini file: extension=imagick.so