Compare two images to check if they are same
问题 I got a Profile view with a ImageView where a User can change their picture. I'm saving my old & new image to compare them. I would like to know if they're the same, so if they are I dont need to push the new one to my Server. I tried this but it doesn't really work: + (NSData*)returnImageAsData:(UIImage *)anImage { // Get an NSData representation of our images. We use JPEG for the larger image // for better compression and PNG for the thumbnail to keep the corner radius transparency float i