dual-value tag not updated as expected

Started by David Beroff, March 27, 2020, 11:19:17 AM

Previous topic - Next topic

David Beroff

This pair of commands correctly clears out the Accelerometer tag and the auto-derived RicohPitch and RicohRoll tags as desired:
C:\d4b\work\360\EXIF\exiftool.exe -tagsfromfile orig.jpg -exif post.jpg
C:\d4b\work\360\EXIF\exiftool.exe "-Accelerometer=0 0" -PosePitchDegrees=0.0 -PoseRollDegrees=0.0 post.jpg


This command does not, even though the other two specified tags do get cleared correctly:
C:\d4b\work\360\EXIF\exiftool.exe -tagsfromfile orig.jpg -exif "-Accelerometer=0 0" -PosePitchDegrees=0.0 -PoseRollDegrees=0.0 post.jpg

Thanks in advance for your help; I've been banging my head against the wall for hours trying to understand the difference.

Test files; using Dropbox as I couldn't attach them here:
https://www.dropbox.com/s/75mvzmi8c4qevyw/orig.jpg?dl=1
https://www.dropbox.com/s/w4n8bvy6vqaflpg/post.jpg?dl=1

StarGeek

Phil will have to weigh in, but I believe it has to do with the fact that you're copying the EXIF data as a block, rather than individual tags.  Since the Ricoh:Accelerometer tag is part of the MakerNotes, which is part of the EXIF block, exiftool isn't able to access it separately during this operation.  Or something like that.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

Correct.  When copying EXIF as a block you can't edit individual EXIF tags in the same step.  The two tags that get cleared properly are in XMP.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

David Beroff

OK, great; thanks to the both of you!  That makes more sense to me now.