ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: skippix on December 18, 2020, 11:33:25 AM

Title: How do I extract rotated previews from a RAW file?
Post by: skippix on December 18, 2020, 11:33:25 AM
Greetings!

I am using exiftool version 12.12 with the following code to extract previews from my RAW files

exiftool  -b -previewimage -w! C:\Users\skippix\Pictures\Temp\201218102439649\%f_preview.jpg -ext CR2 -r G:\Pictures\Archives\Originals\2020\2020-12(Dec)\201210-wmbg-george-pitt-house-christmas-decorations\

My problem is that all the previews come out horizontal without regard to the files orientation. I am looking for the best way to correct this (i.e., the least amount of coding and overhead, preferably without having to read and correct each preview file individually).

Any suggestions will be greatly appreciated!

Thanks,
Skip
Title: Re: How do I extract rotated previews from a RAW file?
Post by: Phil Harvey on December 18, 2020, 08:25:20 PM
Try copying the Orientation tag from the CR2 files to the JPG previews.

- Phil