How to batch convert RAW NEF to JPEG in GIMP?

I have dozens of pictures in RAW .NEF format from a Nikon camera that I want to convert to JPEG. I found this page with a Script-fu plugin that has a batch mode. I installed GIMP and UFRAW with:

brew cask install gimp
brew install ufraw

Running the script in batch caused a hang of GIMP with this dialog box, where clicking the button causes the text in the dialog to go gray and file-glob appears in white.

Hung GIMP with dialog box

I tried converting only one file and got this error:

NEF to JPG Message

Error while executing NEFtoJPG:

Error: eval: unbound variable: file-ufraw-load 

This is the line of Script-fu code that uses that variable:

(image (car ( file-ufraw-load RUN-NONINTERACTIVE infile infile) ))

So I assume that GIMP cannot connect to the UFRAW library. The page above has no solution about it.

How can I batch convert NEF files into JPEG, in GIMP or another program?

Answer

If you use Nikon’s own ViewNX-i [available for free from Nikon] it can
Link edited to hopefully now always find the latest version

a) batch convert to jpg [Export, set parameters, Convert]

& more importantly …

b) make a much better job of knowing what the camera’s settings were supposed to be than any 3rd party app.

enter image description here

Attribution
Source : Link , Question Author : miguelmorin , Answer Author : Tetsujin

Leave a Comment