== or isEqualTo:
Do you know that when you use the operator: == that the object-pointer has to be the exact same pointer.
Maybe, you need to use the method: isEqualTo to check that the images are equivalent (though not necessarily the same exact object).
-- Kaydell