6
\$\begingroup\$

I normally shoot my D80 in JPG mode, because I like the way the JPGs end up looking, and I have had a hard time manually processing the .nef files to look as nice to my eye.

Sometimes the image storage mode on the camera gets changed inadvertently, and I end up with a day's worth of .nef files and no JPGs.

Is there some tool I could use to process these .nef files to .jpg using a computer (mac) in the same way that the camera would have done?

\$\endgroup\$
3
  • 2
    \$\begingroup\$ Doesn't ViewNX do that if you select all of the pictures and apply a Picture Control then do a File→Convert Files...? \$\endgroup\$
    – user2719
    Commented Jul 11, 2012 at 0:58
  • \$\begingroup\$ If I understand your question, getting the same kind of processing that the camera itself will do for native JPEG output might require some initial trial and error. A lot of tools offer a bulk convert/export tool, however you'll probably need more to actually apply a common set of processing to all of them. Adobe Lightroom can do that, either on import, or with bulk application of presets. Once processed, you could simply export all the photos in bulk to JPEG. \$\endgroup\$
    – jrista
    Commented Jul 11, 2012 at 3:49
  • \$\begingroup\$ @StanRogers, you're correct re: ViewNX. \$\endgroup\$
    – mac
    Commented Jul 11, 2012 at 23:04

5 Answers 5

6
\$\begingroup\$

Yes, the camera has "presets" that are applied to the image to give it some more contrast, saturation, etc. It's very common for people to want to switch back to JPEG because RAW images look flat when you start out. It's important to still use RAW though, because you can add in your artistic vision a lot more effectively with more sensor data.

To answer your question, you can actually download the Nikon's (and Canon's) presets and apply them to the RAW image. Matt Kloskowski over at Lightroom Killer Tips posted up the latest batch here. Using these presets, you can apply the same settings that your camera does in JPEG and give you a better starting point. It's easy to do this in batch as well, or even on import by selecting the preset in the import dialog.

I'd highly encourage that you continue shooting RAW and simply apply the preset to give you a better starting point.

\$\endgroup\$
2
  • \$\begingroup\$ Do you know if these are reverse-engineered from Nikon/Canon by Adobe, or are they provided by the manufacturers? \$\endgroup\$
    – mattdm
    Commented Jul 11, 2012 at 17:08
  • \$\begingroup\$ My understanding is that these are reverse-engineered \$\endgroup\$
    – AndyML
    Commented Jul 11, 2012 at 18:08
3
\$\begingroup\$

@stan rogers was correct in his comment to my original question. ViewNX provides these tools, no need to resort to paid software.

From stan:

select all of the pictures and apply a Picture Control then do a File→Convert Files...

\$\endgroup\$
1
\$\begingroup\$

To duplicate it exactly, you'd need to understand exactly what the camera does between the sensor and the finished JPEG. I'm sure Nikon knows, but I'm also sure they're not telling beyond what they cover in the owner's manual. You can, with some experimentation, approximate it. There are two major categories of changes you need to deal with:

The first is how the camera enhances (or attempts to enhance) the image after it has been captured. This normally involves setting white balance and applying some combination of adjustments to sharpening, contrast, brightness, hue and saturation. Your best bet would be to work with a few raw images and their camera-produced JPEGs side-by-side to see if you can find a set of basic changes that work.

Nikon's more recent bodies have a feature called D-Lighting that lightens the darker areas in the image. This is the same thing done by the Fill Light control on some processing software does. There's an "Active" flavor of this feature that adjusts the camera's exposure program for maximum dynamic range after the processing happens. You won't be able to compensate for this after the fact because you can't change the exposure.

The second is compression of the finished image into a JPEG, which happens after all of the processing outlined above happens. You can get an idea of how much compression is applied by setting your camera to save a RAW and JPEG for each image, shooting some pictures and converting the RAW to a JPEG using your processing software. Keep changing the compression level until the processed JPEG is about the same size as the one produced by the camera.

Jrista's comment covers the batch processing issue pretty well. Most of the major programs have an "apply settings and export in batch" feature.

If you haven't done much with raw images, I'd encourage you to spend some time tinkering with them using a good processing program (LightRoom, Bibble/AfterShot, etc.). You can get quite a bit more out of raw files with minimal work, and the results can be much more rewarding.

\$\endgroup\$
0
\$\begingroup\$

IrfanView can batch convert Raw files for you to any format you would want, using a GUI.

I shoot deliberately in raw, and my photography routine is follows:

  1. download the photos from the camera
  2. copy them to a folder
  3. run my batch conversion script (NEF2PNG) there
  4. arrange the PNG files, and share the best ones with family and friends.

Here's the NEF2PNG script: https://github.com/gurkanctn/NEF2PNG (It requires Python to run.)

\$\endgroup\$
2
  • 1
    \$\begingroup\$ Hi and welcome to Photo.SE! How does your script make sure that the NEF is converted in the same way that the camera would have done" as asked in the question? \$\endgroup\$ Commented May 5, 2022 at 20:06
  • \$\begingroup\$ Hello, My answer proposes a solution (procedure) to the general problem: being able to convert RAW files to JPEG (or PNG) in an efficient way, especially when the camera settings are changed inadvertantly. Making them in the same way as the camera can be accomplished by changing IrfanView settings (as much as practical and possible). \$\endgroup\$ Commented May 6, 2022 at 18:59
-1
\$\begingroup\$

If you are using Adobe Photoshop or the like you should also have access to Camera Raw. This will enable you to process your RAW files.

Keep in mind that a RAW file really is just like a film negative (or to be more precise a slide film -- as you get a positive image). It records everything the camera sensor can "see". Settings like white balance, sharpness etc get added to the image after the data is captured by the sensor.

The best way I learned was to do a search on YouTube for "RAW processing" or "NEF processing". You may also want to search for these terms and the name of the software you are using.

Another useful publication I found is NPhoto magazine from the UK. They are geared towards Nikoln cameras only and are written for Beginner and Intermediate users. They include a section each month on what to do with your files.

Hope this helps.

\$\endgroup\$
1
  • 4
    \$\begingroup\$ I don't think this answers the question.... \$\endgroup\$
    – mattdm
    Commented Jul 11, 2012 at 1:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.