Hi all,
I know that list of tags from ExifTool database can be extracted by -list option, but how to get more information than tag name, aka family 0, 1, 2, and 4.
Typically, i expected to use -G:0:1:2:4 with -list option, but it doesn't work.
Sample of tags name scheme wanted from database:
EXIF:ExifIFD:Camera:MeteringMode
EXIF:GPS:Location:GPSVersionID
EXIF:IFD0:Image:XResolution
...
XMP:XMP-dc:Image:Description
XMP:XMP-aux:Camera:Lens
...
IPTC:IPTC:Other:ApplicationRecordVersion
IPTC:IPTC:Other:Caption-Abstract"
...
And yes, i want to extract all existing tags from ExifTool database, not from a file.
Thanks in advance
This is the purpose of the -listx option, which has many features. Read all of the details in the application documentation (https://exiftool.org/exiftool_pod.html).
- Phil
Thanks. "-listx" do the job as expected.
Best Regards
Hi,
I investigate to the XML output of this command line :
exiftool -listx -n
Which report something like that for an Exif tag :
...
<table name='Exif::Main' g0='EXIF' g1='IFD0' g2='Image'>
<desc lang='en'>Exif</desc>
<tag id='2' name='InteropVersion' type='undef' writable='true' g1='InteropIFD'>
<desc lang='en'>Interoperability Version</desc>
...
The first line give the group 0, group 1, and group2 of the tag. So typically the full tag name is EXIF:IFD0:Image:InteropVersion
But on the 3rd line, what's about the g1='InteropIFD'.
This want want mean that i need to replace the group1 from the first line by this value and full tag name become EXIF:InteropIFD:Image:InteropVersion ?
Same question for this one :
<table name='Exif::Main' g0='EXIF' g1='IFD0' g2='Image'>
...
<tag id='272' name='Model' type='string' writable='true' g2='Camera'>
<desc lang='en'>Camera Model Name</desc>
...
What' about the g2='Camera' ? Full tag name is "EXIF:IFD0:Image:Model" or "EXIF:IFD0:Camera:Model" ?
Thanks in advance
Gilles Caulier
Hi Gilles,
The "table" entry specifies the default group names. The individual tags may have different groups.
There is no "full tag name" as you mentioned. Which groups you specify depends on what you are doing.
- Phil