EXR format error - ExifTool breaks when other tools do not

Started by imbenzenker, December 16, 2021, 02:29:39 PM

Previous topic - Next topic

imbenzenker

I am unable to read all of the metadata from the following image because ExifTool errors out part of the way through the process. It gets through some of the metadata, and so my thought is that one of the keys or one of the values is throwing ExifTool for a loop.


  • Linux CentOS release 7.9.2009 (Core)
  • 12.37
  • exiftool -v -htmlDump ./exr_metadata_issue.01001.exr
  • ... No EXIF or TIFF information found in image ... Warning: EXR format error - ./exr_metadata_issue.01001.exr
  • https://drive.google.com/file/d/1XtpZvYofElYLgstZYevNhRtZ_lCbW6ZC/view?usp=sharing

This is a real image from an Alexa camera but I've overwritten the input filename and the image contents for security purposes.

I am able to read all of the EXR metadata using other tools such as exrheader and Foundry Nuke.

Here is the verbose output when I don't use the htmlDump arg

ExifToolVersion = 12.37
  FileName = exr_metadata_issue.01001.exr
  Directory = Obfuscated
  FileSize = 293648
  FileModifyDate = 1639682056
  FileAccessDate = 1639682060
  FileInodeChangeDate = 1639682056
  FilePermissions = 33204
  FileType = EXR
  FileTypeExtension = EXR
  MIMEType = image/x-exr
  EXRVersion = 2
  Layout = 0
  AdoptedNeutral = 0.312700003385544 0.328999996185303
  Channels = [B half 1 1,G half 1 1,R half 1 1]
  Warning = EXR format error

Phil Harvey

Thanks for this report and sample image.

ExifTool 12.38 will be able to read metadata from this file.

The difference is that this file uses the "long name" format for tag names, and ExifTool didn't support this yet.

- 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 ($).

imbenzenker

Nice find, excited to hear that it wasn't more perplexing than that.

Appreciate your continued support, Phil.