I need to rename a bunch of files including an Exif field value that I can't reach with TC or the jpg-comment WDX (version 2.3.0.4). In IrfanView this filed has the label "Image Number" and apparently stores a consecutive number representing the number of images shooten so far (I guess the camera derives its image file name from this field). It seems to be a maker-specific field (it's a Canon PowerShot A610) - how can I use this field in TC?
Regards, Niko
Exif field question
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 12
- Joined: 2004-02-18, 21:20 UTC
Here is an example of EXIF data from a Canon IXUS where the filed is listed under "Maker Note (Canon)" > Image Number / Tag 008 as well as noted under "0xc Camera serial number" in the documentation about the EXIF Makernote of Canon by David Burren.
But how can I use this data to extract the right value with the jpg-comment WDX?
TIA, Niko
But how can I use this data to extract the right value with the jpg-comment WDX?
TIA, Niko
With jpg-comment.wdx you can use all fields, which are provided by Exiv2. See the metadata reference tables on http://www.exiv2.org/metadata.html.
Exiv2's (and ExifTool's) name for the field "Image Number" is "FileNumber". Just define an appropriate key in section "[Metadata]" of <jpg-comment.ini>.
Example:
Notes:
"45": Set an unused key number here
"8": That will define your new plugin field "Image Number" as ft_string. Try "2" (ft_numeric_64), if ft_string representation doesn't meet your expectations (e.g. for sorting)
Now (after reloading jpg-comment.wdx) you will have a new field "Image Number" available with jpg-comment plugin.
Exiv2's (and ExifTool's) name for the field "Image Number" is "FileNumber". Just define an appropriate key in section "[Metadata]" of <jpg-comment.ini>.
Example:
Code: Select all
[Metadata]
45=8|Image Number|Exif.Canon.FileNumber
"45": Set an unused key number here
"8": That will define your new plugin field "Image Number" as ft_string. Try "2" (ft_numeric_64), if ft_string representation doesn't meet your expectations (e.g. for sorting)
Now (after reloading jpg-comment.wdx) you will have a new field "Image Number" available with jpg-comment plugin.
Grüße, van Dusen (#24722)
-
- Junior Member
- Posts: 12
- Joined: 2004-02-18, 21:20 UTC
All done! Works perfect with ft_string definition and with a multi renaming string of "IMG_[=jpg-comment.Image Number:4-]" all the original file names are back again. Many thanks!van Dusen wrote:Code: Select all
45=8|Image Number|Exif.Canon.FileNumber

Cheers, Niko