Batch convert nef to jpg ffmpeg

broken image
broken image

To do the same but keeping the original files, run convert in a loop: for img in *.NEF do convert '$img' '$img. NEF files in the current directory ( will overwrite the originals): mogrify -format jpg *.NEF Install it on Ubuntu with: sudo apt-get install imagemagick Still, their website says it does, so you should try it out and in any case, it is really worth learning. It would have been my first choice, but I found some (older) posts claiming that it did not work with NEF. It's free, open source, cross platform and can do just about everything you can think of including resizing, cropping, managing transparancy, montage and converting between most image formats under the sun. Probably the best tool around for all your batch image processing needs, however, is ImageMagick. To convert an entire directory: for filename in *.NEF  do dcraw -c -w '$filename' | pnmtopng > '$filename.png'  done Have you tried it You can increase output quality for jpeg output with -qscale:v.

broken image

NEF images to test this, but according to this page, you can do:Ĭonvert all NEF images to PNG: dcraw -c -w input.NEF | pnmtopng > output.png 41 1 1 2 This might be a better question for superuser (or just read this /) vipw at 13:34 Your command looks fine to me. So, open a terminal and run these commands: sudo apt-get install netpbm dcraw One solution, on Ubuntu, would be to use dcraw to convert NEF to PBM, and pnmtopng to convert PBM to png.

broken image