Thread

Posted on Thu Jul 27 01:08:58 2006 by linuxuser
Query by tag number
exiftool -q -q -H -G -U -a original.jpg | grep "Sequence Number" [MakerNotes] 0x002b Sequence Number : 3 - How can I query the tag 0x002b to get an answer of 3 using exiftool?
Direct Responses: 2713 | Write a response
Posted on Thu Jul 27 04:15:22 2006 by exiftool in response to 2712
Re: Query by tag number
I'm not sure what you're asking. The only way you can address this tag is via its tag name, "SequenceNumber". And if you want only the value returned, use "-s -S". Is this what you want?:

> exiftool -s -S -sequencenumber original.jpg 3

- Phil
Direct Responses: 2714 | Write a response
Posted on Thu Jul 27 05:32:29 2006 by linuxuser in response to 2713
Re: Query by tag number
I know that I can use -sequencenumber but I would like to know if I can use something with 0x002b to query the tag? Does -sequencenumber work with makernotes of different makes? Since you cannot create a unique identification with date and time I am looking for a workaround and I believe it could be a solution to use YYMMDDHHMMSSsequencenumber. Since makernotes could be deleted by an image manipulation program I am also looking for a probably unused tag, which could be used for the sequence number. Any ideas? Thank you!
Direct Responses: 2715 | Write a response
Posted on Thu Jul 27 15:00:04 2006 by exiftool in response to 2714
Re: Query by tag number
Only unknown tags can be accessed by number, but unknown tags are not writable anyway. I suggest using EXIF:ImageUniqueID if you want to store a unique identifier in the image, but this tag should be formatted as a string of 32 hexadecimal digits, so it may not be exactly what you are looking for. There is also an EXIF:ImageNumber tag, but it is not currently writable because it is not commonly used.

- Phil
Direct Responses: 2716 | Write a response
Posted on Thu Jul 27 15:31:44 2006 by linuxuser in response to 2715
Re: Query by tag number
Should or must "EXIF:ImageUniqueID" be formatted as 32 hexadecimal digits? Can you make the EXIF:ImageNumber tag writable?
Direct Responses: 2717 | 2718 | Write a response
Posted on Thu Jul 27 16:19:55 2006 by exiftool in response to 2716
Re: Query by tag number
To conform with the EXIF specification, it must be 32 hex digits. However, I have seen other software that does not use this convention (I have samples written by Capture One that use a syntax like "560037191-1171779").

And I will make EXIF:ImageNumber writable.
Write a response
Posted on Thu Jul 27 17:15:55 2006 by ran in response to 2716
Re: Query by tag number
Hi, I have a really interesting opportunity for configuration managers who have experience with configuration tools in a high tech company. If you are interested, or know any one who might be - contact me: Ran Peled, 054-2270760 ran@mishoo.co.il Good Luck!
Write a response