Batch Image Processing

December 22, 2010

My wife and I opted for a DVD of all our wedding photos instead of buying actual prints from our photographer. Although (now days) this is almost always preferable, it still means we had 7GB of Nikon RAW (.NEF) images to process by hand. That's a lot of images to manually sort through and compress using a standard image editor.

I eventually got around to looking for a solution and came across UFRaw. This intrigued me because of its ability to batch-process from the command line, as seen below:

ufraw-batch --shrink=2 --out-type=jpeg --out-path=./processed ./*.NEF

Now, only eight short months after our wedding (my bad), plus a few hours letting UFRaw and all its dependencies compile in MacPorts, we had our entire wedding photo collection burned to CDs, ready to share.