ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: Elliott B on September 01, 2020, 01:50:39 PM

Title: lower case EXR tag names
Post by: Elliott B on September 01, 2020, 01:50:39 PM
When OpenEXR tags begin with a lower case letter, it looks like exiftool is changing them to upper case.  Is there some way to see exact tag names?  I attached a low-res sample.


PS D:\CF_Projects\hdr2\generated\exr> exiftool -X .\0000000.exr | findstr /I aspect
<OpenEXR:Aspect>1</OpenEXR:Aspect>
<OpenEXR:PixelAspectRatio>2</OpenEXR:PixelAspectRatio>

PS D:\CF_Projects\hdr2\generated\exr> exrheader .\0000000.exr | findstr /I aspect
Aspect (type float): 1
pixelAspectRatio (type float): 2

PS D:\CF_Projects\hdr2\generated\exr> exiftool -s .\0000000.exr | findstr /I aspect
Aspect                          : 1
PixelAspectRatio                : 2

PS D:\CF_Projects\hdr2\generated\exr> exiftool -ver
12.05
Title: Re: lower case EXR tag names
Post by: StarGeek on September 01, 2020, 02:58:41 PM
I do not believe so.  Exiftool has that listed as the tag ID, not the tag name.  See the OpenEXR tag page (https://exiftool.org/TagNames/OpenEXR.html) for the list of tag IDs and the names that exiftool gives them.  As you can see, in some cases, exiftool gives the tag ID a more human readable name, such as '_lay' -> Layout.

That's about all I can comment on.  Anything else will have to wait until Phil gets back from vacation later this week.
Title: Re: lower case EXR tag names
Post by: StarGeek on September 01, 2020, 03:00:55 PM
Ah, you can use the -v (verbose) option (https://exiftool.org/exiftool_pod.html#v-NUM--verbose#v-NUM--verbose) to get more data, but it would require more parsing from you.  For example, from the -v2 output on your file.
Maxfall = No data
  - Tag 'maxfall' (7 bytes, string)
  PixelAspectRatio = 2
  - Tag 'pixelAspectRatio' (4 bytes, float)
  ScreenWindowCenter = 0 0
  - Tag 'screenWindowCenter' (8 bytes, v2f)
Title: Re: lower case EXR tag names
Post by: Phil Harvey on September 05, 2020, 03:11:02 PM
You can use the new -G7 option to see the actual tag ID's (with "ID-" prepended).

> exiftool F004C001.exr -G7 | grep -i aspect
[ID-Aspect]     Aspect                          : 1
[ID-pixelAspectRatio] Pixel Aspect Ratio        : 2


- Phil