Hi All! I’m new to RawTherapee, and it seems awesome. I’m hoping to use it to help with my astrophotography workflow.
I have an odd problem though; I batch-process a large number of images, with different orientations (because of the way the camera tracks night-sky objects). I use ‘exiftool’ to set all the orientation flags to ‘Horizontal’ - and this seems to work fine for Photoshop etc. But in RawTherapee, the RAW images still have their original (mixed) orientations! Also no orientation flags appear in the ‘Meta’ tab for the images.
I did view the RAW images in RawTherapee before resetting the orientation flags - could RawTherapee have cached the metadata flags somewhere? (I’ve cleared out the RTCache folder). How does RawTherapee work out the orientation, and why doesn’t it show the flags in the ‘Meta’ tab?
What happens if you select the default processing profile again in RT?
Once you open each image in the editor in RT, it saves a sidecar file with the settings from then. Subsequently, even if you change the exif orientation in the raw, it’ll ignore that and process based on the sidecar file.
Thanks CarVac, resetting to the default processing profile doesn’t seem to help. Also I deleted all the sidecar files, and that didn’t help either!
Cheers
-Mat
Can you provide two raw files (one with correct orientation and the other one with incorrect orientation)?
Please provide the exact exiftool command you used to set the orientation.
Then we can test and possibly provide a solution.
Many thanks heckflosse, here’s a link to two images, the first appears horizontally, the second appears vertically. They both seem to have the same exif flags. They were processed with the command line below.
exiftool -a -G1 -orientation=Horizontal -cameraorientation=Horizontal -rotation=Horizontal -overwrite_original *.arw
I’m not sure what the -rotation tag is. It doesn’t appear in the exiftool docs that could find?
Why are you changing the camera orientation also? Was the camera actually vertical or horizontal? I’d leave this alone. The reason is that the orientation tag I think is just an integer for rotating the image relative to the camera orientation. I haven’t checked this yet, but I have a sneaking suspicion…
Could you output what those two fields are set to in an unadulterated pair of images (horiz and vert orientation) straight out of the camera?
RawTherapee therefore appears to be using the IFD1 Orientation tag instead of the IFD0 one.
If you do not specify which IFD to edit, ExifTool will edit IFD0 by default, which leaves you with a thumbnail whose orientation does not match the main image.