It must be an image comparison, and it's can be a simple 1-to-1, because all it takes is one modified pixel to break that. That's why it has to be some sort of an image recognition technology.
A string comparison would not catch my next attack, a bitmap-based imitation.