# Extract embedded jpegs from all .CR2 files in the current dir $ exifpic *.CR2
This is a super-simple program to extract embedded (full-size) jpegs from RAW camera files. EXIF headers are copied to the new file, which will always have the same name as the old file, but with a .jpg extension.
The code will use as many cores as you have available, and assumes you're running a threaded perl.
Plenty! The code assumes you have a /proc/cpuinfo so it can count cores. It's only been tested on Canon .CR2 files. There are probably more.
Patches are super-welcome. You can find the code repo at https://github.com/pfenwick/app-exifpic .