Linked Questions
10 questions linked to/from Generate hash from UIImage
9 votes
2 answers
10k views
Objective-C: Comparing an image against another image that has been previously saved
I have a question about comparing UIImages in Objective-C when one image has already been through a save and load process using the NSSearchPathForDirectoriesInDomains method. The aim of what I want ...
10 votes
4 answers
11k views
Comparing UIImage
How can I compare an image to another one? Thanks!
5 votes
2 answers
13k views
Comparing two images whether same or not (iOS) [duplicate]
Possible Duplicate: How does one compare one image to another to see if they are similar by a certain percentage, on the iPhone? I've found this code and am trying to understand it better: ...
-1 votes
1 answer
1k views
SHA256 hash of camera image differs after it was saved to photo album
Xcode 10.2 and Swift 5 I pick an image from camera and calculate SHA256 hash of the image as string and save the image to iPhone photo album. //Save photo to album. Photo comes from ...
1 vote
4 answers
483 views
compare multiple images in ios in objective-C
i am comparing images with each other here is the code for it. for (int i=0; i<arrImageData.count; i++) { for (int j=i+1; j<arrImageData.count; j++) { if ([arrImageData[i]...
0 votes
1 answer
515 views
Getting wrong value for SHA 256 for UIImage
I am using the following code for getting SHA 256 of UIImage (source: https://stackoverflow.com/a/50931949/10451073) extension UIImage{ public func sha256() -> String{ if let ...
0 votes
2 answers
267 views
UIImagePickerController's object in NSMutableArray
I need to add objects selected by UIImagePickerController into an NSMutabeArray, the code goes as: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(...
1 vote
2 answers
286 views
Avoiding to save image duplicates
My app allow users to choose imgs and associate them to some text. When the user choose an image from the photo roll, I copy it in the Documents directory. As the user should choose the same img ...
0 votes
1 answer
242 views
Saving image to .documentsDirectory, and as a String to store path in local Realm
I'm attempting to save (parse?) an image Path to my realm. To do that I attempting to save the image as jpegData into the documentDirectory. The images I am saving do not need to be saved into the ...
0 votes
2 answers
74 views
Updating image and saving it in dictionary
I am getting image as url from dictionary on ViewController A and I have passed that dictionary to ViewController B.I want that if the user has updated the image then it shows the updated image else ...