-
JPEG corruption fix?
Ok, I've bin rearranging my backup server (ironic as it seems) by copying the entire contents from an NTFS drive, over the network to another machine, wiping the NTFS drive and reformatting as ext3 so i dont have a horriffic data read overhead.
During this transition, some pictures have become corrupted whereby it looks as if only one section of the data is corrupted but has been thrown out so the rest of that line and all of the image following it is "offset"
Has anyone encountered this before? am i screwed? I've searched around for a solution but other solutions eg JpegRecovery dont work, that and of course i dont wanna pay for it.
-
You are most likely not screwed, but fixing the images isn't easy. You will have to figure out which byte in the image that has been changed (by studying the JPEG file format and looking at the image) and then try to change it so the next 8x8 blocks aren't affected.
-
oh, the joy of hex editing then? anyone got any particular fav editors or anything that can make this a bit simpler without re-learning the jpeg format codes?
-
Is it only jpg files which have been corrupted ?
-
yeah, and its only a couple, as, typically, out of a collection of hundreds of photographs, its ones i like too.
Actually, to answer your question more accurately, it is only *.jpg's, and while most are fairly large (2560*1920) some are small(ish) (453*604)
Just dumb luck i guess
-
I don't suppose it's anything as simple as it "believing" they were text files at some point, and random occurrences of '0x0a' have been turned into '0x0d 0x0a' (or vice-versa).
Most of the time when I do mass copying, I also compute and compare the md5sum results as well.