Hi Phil.
I'm here again, I like to investigate and make lots of test until I get what I'm looking for, but I am again blocked :-[
I am trying to copy the -Orientation from original raw files to the extracted PreviewImage, but the most I got was to have all of them 180º turned.
Please, tell me one of your "script is worth a thousand words"
Thanks a lot in advanced.
My best regards.
Edited: I have got it! ::)
...
$Orientation = $exifTool->GetValue('Orientation');
$exifTool->SetNewValue('Orientation', $Orientacion);
$exifTool->WriteInfo( $out );
...
Thanks a lot anyway, perhaps asking you change my mind about the code so I got it. :)
Quote from: Janc on March 28, 2010, 02:17:23 PM
Hi Phil.
I'm here again, I like to investigate and make lots of test until I get what I'm looking for, but I am again blocked :-[
I am trying to copy the -Orientation from original raw files to the extracted PreviewImage, but the most I got was to have all of them 180º turned.
Please, tell me one of your "script is worth a thousand words"
Thanks a lot in advanced.
My best regards.
Edited: I have got it! ::)
...
$Orientation = $exifTool->GetValue('Orientation');
$exifTool->SetNewValue('Orientation', $Orientacion);
$exifTool->WriteInfo( $out );
...
Thanks a lot anyway, perhaps asking you change my mind about the code so I got it. :)
Just a correction to a small mistake I wrote before:
...
$Orientacion = $exifTool->GetValue('Orientation');
$exifTool->SetNewValue('Orientation', $Orientacion);
$exifTool->WriteInfo( $out );
...
Cheers!