Added some image comparison methods.