Selenium WebDriver offers Image Comparison Testing with Java programming. We even use Yandex QATools AShot utility jar file to compare to images pixel by pixel.
Read this post on inviul.com