Photoshop: Is there a way to batch Processing Nikon RAW Files to Multiple JPEG Sizes?

  • 1
  • Question
  • Updated 9 years ago
  • Answered
  • (Edited)
Dear High-Tech Support Superheroes

I take a lot of photos with my Nikon N3s, in RAW (.NEF) format, and I want to process them in Photoshop to include them in a database I am writing myself.

For each file, I would like to produce a full sized JPEG version, plus a standard series of smaller versions (so 2048x1363 pixels, 1024x681 pixels, etc.)

Ideally, I would preserve the base file names for the full-sized files, but add the pixel dimensions of the smaller sized files to their file names. So _DSC1234.RAW might get saved as _DSC1234 2048x1363.JPG.

Alternatively (but less preferably), each version could be saved to a subdirectory and the names would stay the same.

One other snag: I want the orientation of the photos to be respected when the smaller sizes are produced. That is, a smaller sized landscape photo might end up being named _DSC1234 2048x1363.JPG, but if the photo happened to be taken in portrait mode, it would be named (and sized!!!) _DSC1234 1363x2048.JPG.

Described like that, it sounds hellishly complex. But the goal in fact is quite simple:

Start with a .NEF file, and produce 4 different sized versions of it in JPEG format; give them meaningful names, and preserve the image size so both portrait and landscape versions of each photo size end up being the same size in terms of "square pixels" or "overall footprint?.

But did I mention automated processing? Ideally, I would point this process at a directory, and it would automatically chew through every file it found. Or even beyond my wildest dreams (you must realize, I don't get out too much), it would only touch those files that had a rating of 1 star or higher.

I am using CS4, but would upgrade if CS5 makes this process easier.

Any help, suggestions or pointers would be much appreciated.

Thanks in advance

Photo of Brad Varey

Brad Varey

  • 2 Posts
  • 0 Reply Likes

Posted 9 years ago

  • 1
Photo of Brett N

Brett N, Official Rep

  • 2260 Posts
  • 123 Reply Likes
CS4 and CS5 are going to have the same capabilities in this regard.

Of your main workflow, the main issue is the file naming. You could easily create an action the opened an NEF, resized it, saved it, resized it again, saved it, etc to create your 4 copies. But file naming would be an issue because you can't have automated file naming in the action, it either uses a static name or the original file name. You could "program" the action to save to 4 different folders, one for each size, and then consolidate and rename later.

The only straight forward approach, though, is to script this, which would be able to accomplish everything you ask for (including only performing this on rated images).
Photo of Paul Riggott

Paul Riggott

  • 360 Posts
  • 146 Reply Likes
With Photoshop CS5 this should be possible with "Image Processor Pro" @
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16297 Posts
  • 2588 Reply Likes
A custom script would get you there as well. Sounds like you're fairly technical, you could crack open the scripting documentation and probably whip up something:
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 16297 Posts
  • 2588 Reply Likes
Whoops, missed that Brett mentioned that above. In any case, hopefully the link helps. You could also ask someone on the scripting forum or to help if you need assistance:
Photo of Paul Riggott

Paul Riggott

  • 360 Posts
  • 146 Reply Likes
You could try this Bridge script that I have put together..
To install the script:
Start Bridge
Preferences - Startup Scripts
At the bottom click the "Reveal Button" this will open the folder where the script should unzipped and saved.
Close and restart Bridge.
Accept the new script.

To Use:-
Tools - Bridge - "Raw to JPEGS"

You have the options of selecting all files of selected type or by label/rating
You can save the files in the same folder or choose a destination folder.
File naming is how you requested. To