Hey all,
So I've been attempting to extract a preview of a corrupted .cr2 file (camera fell in the ocean... but that's a story for another day). I've been referencing the following threads;
https://exiftool.org/forum/index.php/topic,4172.msg19805.html (https://exiftool.org/forum/index.php/topic,4172.msg19805.html)
https://exiftool.org/forum/index.php?topic=4422.0 (https://exiftool.org/forum/index.php?topic=4422.0)
The second thread mentions this error, however looks like that thread died. I've followed the instructions in that thread - installed perl, included perl in the PATH (referenced at http://stackoverflow.com/questions/3051049/active-perl-installation-on-windows-operating-system (http://stackoverflow.com/questions/3051049/active-perl-installation-on-windows-operating-system)), moved the lib to the extract_preview directory, and ran the following command:
perl c:\Users\user\Desktop\folder\extract_preview c:\Users\user\Desktop\folder\IMG_4704.CR2
Which results in the aforementioned error; This scripts requires Image::ExifTool -- please install it
Any help resolving this issue?
You need the "lib" directory from the full Perl Image-ExifTool distribution in the same folder as extract_preview. If you have the correct "lib" directory, it should contain File and Image sub-directories.
If for some reason this doesn't work, try "cd"-ing to the directory containing the preview_image script and lib directory.
- Phil
Thanks Phil, the cmd line now works. Unfortunately, it looks like exiftool is unable to process the file, possibly due to metadata loss. "Error opening file - 1 file not processed due to errors"
I also attempted to "cd" using the following line
cd ~c:\Users\user\Desktop\folder
But was met with "The filename, directory name, or volume label syntax is incorrect." I subsequently removed the tilde, and 'cd' appeared to work, but upon running the perl line again i was met with an error ("Error opening file - 1 files not processed due to errors")
My mistake. Just checked the folder and noticed IMG_4704.CR2 has been converted to IMG_4704.JPG. However, the jpg produced was 0 bytes in size.
Well, just checked the hex data on the corrupted files. All "00". Guess thats that, hahahaha
Yes, unfortunately I have seen the "full of zeros" memory card corruption symptom many times before. :(
- Phil