I'm converting about 9000 photos from .NEF to .jpg.
- I'd like to retain all EXIF data, most importantly Date and time created, Latidude and Longitude.
- I'd like the JPGs to be at the highest possible quality.
I've just gotten started using ImageMagick from the command line. I also have Exiftool installed. I'm using the mogrify
command because it handles batches nicely.
When I run
mogrify -format jpg *.NEF
All of my .NEF files are successfully converted to JPGs, but all EXIF data are lost.
I've searched around quite a bit to try and find a solution to this and it seems like I may have to install ufraw, but if possible I'd like a solution that uses software I already have - ImageMagick and Exiftool.
Thanks in advance for any advice you have about how to do this.
Update:
- The images I converted using mogrify are slightly smaller (~ 1-2 MB) than those output by my colleague using picasa to convert NEF to JPG. But when I specify
-quality 100
in ImageMagick the image sizes gain about 45 MB! Why? - The code
exiftool -tagsfromfile %d%f.NEF -ext jpg -overwrite_original .
adds the exif information to the JPGs.