2
2
I took some photos, put the SD card into my Windows 10 PC, copied the images to my primary drive (an SSD), then as I'm generally paranoid and as these were important family photos, binary diffed the source and the copy. One file was different (of the ~300 files, ~2GB). I rescanned it. Still different. I then viewed the files in a hex diff viewer, and that screen capture is below.
I've seen corruption occur before but never like this. There are maybe 30 bytes total that have changed, but they aren't contiguous, though they are in the same range (but each change has random gaps of 10-30 bytes between them). Usually when I've seen corruption it'll be one contiguous area corresponding to a block on the disk or a network packet or something.
When I used a picture diff program it knew there was a difference, but visually both images were fine and the blended diff between them didn't show any weird/corrupt area.
I recopied the file, and the new copy was just as it should have been.
But, I'm just stumped and now super paranoid, I just diffed copied files out of an abundance of caution, not because I actually expected this sort of problem to happen. How can this happen, and happen like this? Are my fears real and I now need to worry about all file writes/copies being potentially corrupted?
Thanks!
What format are the pictures? – Dave – 2016-11-23T22:00:45.407
@Dave They're JPG files. – Ben N – 2016-11-23T22:05:05.677