

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. Step 5: Right-click the image and select JPG as the file. Step 4: Next, use the navigation bar to look through the NEF images you’ve chosen. Select the NEF files you want to convert to JPGs here. Step 3: After that, select Open image from the menu. Probably the best tool around for all your batch image processing needs, however, is ImageMagick. Step 2: Open the program and look for the File menu in the software panel’s upper left corner.

To convert an entire directory: for filename in *.NEF do dcraw -c -w "$filename" | pnmtopng > "$filename.png" done

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 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.
