Compare two image pixel by pixel