I am doing my best to learn how to batch convert a bunch of RAWs images (Nikon D850) to Tiff (16 bit integer) with RawTherapee (on Windows 10). Thanks to RawPedia [1]…
My real final goal is to focus-stacking these Tiff with Zerene stacker software…
To batch convert my RAWs images I type in the CMD (prompt command of Windows 10):
rawtherapee-cli.exe -o D:\prove -b16 -t -Y -c D:\prove\*.NEF #where the output (-o) is tiff integer 16 bit for every rgb channel (-b16 -t) #I overwrite any identical TIFFs IF already exists (-Y) in the folder “prove”
My real question is:
Is it possible to also rotate the RAW (NEFs) images to180° while batch converting them to Tiffs?
I take my macro pictures on a tripod and all of them are upside-down…
EDIT:
After a bit of thinking, I suppose the batch rotation might be better off with ExifTool or other similar exif tools…
Needless to say, I might rotate all my RAWs images with the RawTherapee GUIs and spare me all the hassle…
assuming NEFs are in the cwd and there’s a tiff/ subdirectory. The quotes around the file input and output are to keep the shell from futzing with the wildcard specification.
-p <file.pp3>
Specify processing profile to be used for all conversions.
You can specify as many sets of “-p <file.pp3>” options as you like, each will be built on top of the previous one, as explained below.
You add the processing done in the rotate180.pp3 profile. As you only rotated the image, that’s the only thing added to the processing from the command-line
Just out of curiosity…
In order to produce a Tiff (16 bit every rgb channel from my NEFs) Is there a difference between these 2 commands as regards the rawproc img.exe tool?
First, the parameter is ‘channelformat’ in both cases. Also, the values are ‘16bit’ and ‘float’. And, the asterisk wildcard is missing, but I find some of these characters can be stripped by the site formatter.
The first one saves 16-bit TIFF, the other a float TIFF. You want 16-bit and I gave you the float parameter instead. My bad…
Now it works:
img.exe “*.NEF:rawdata=crop” subtract:camera whitebalance:camera demosaic:ahd blackwhitepoint:rgb,data colorspace:camera,assign rotate:180 “tiffs/*.tiff:channelformat=16bit” #BTW, you have first to escape the * with \ to make it appear in this page (just discovered now…)
Actually, for me these Tiffs (16 bit integer for channel) are most likely a bit of an overkill for my focus stacking purposes with Zerene stacker.
So far I always used the JPEGs, not-compressed, produced directly from my D850 (even though I always knew the TIFFs were a better starting-point for the end-result…)
I forgot to mention that you also have an auto-rotation option in Zerene that may come in handy for you, if you wish: Preferences>Input/Output>Preprocessing>Image Pre-rotation: 180 degrees
I have tried Picolay and on the whole it works well.
In the past, I have also reported some bugs to its German creator. The program was crashing with big jpeg files produced by my Nikon D850. He quickly replied to my email and he fixed the crash in the following release
Did you get good results with Picolay?
Today, I have installed the newest version on Windows 10 and I have tested it once again with some insects stackings.
The results were not entirely good although I have tried to apply variuos settings (2x, test 4 filters settings etc etc).
With Zerene stacker the final result is usually better than Picolay, IMHO.
Anyway, although Picolay is «good», Zerene is currently the «best» in my opinion regarding the stack quality.
In my view, what is interesting about Zerene is that it also works natively on Linux (with Picolay you need Wine on Linux) and, most of all, you can upgrade its next versions without paying anything further (it is all legit).