Compare image pixels side to side