To recover jpeg files from corrupted memory card
This is a small C program to recover jpeg files from corrupted memory card raw file.
Place the script and file in directory where you want to recover images.
Run the program in Terminal in macOS and Linux, command prompt in Windows.
$ gcc -o RecoveryJpeg.c RecoveryJpeg
$ ./RecoveryJpeg filename.raw
After running you will see all jpeg images recovered in your current working directory.
Directory before running program
Running program in Terminal
After runing program view of directory all jpeg images get dicovered