Hi!
I'm using Exiftool.exe v12.57 packed by OLiver Betz along with PyExiftool. When running:
Exiftool -charset filename=utf8 -charset iptc=utf8 -m -q -api IgnoreTags=all -s2 -description -headline -title -subject -supplementalcategories -location -city -state -country -countrycode -imagedescription -caption-abstract -datetimeoriginal -xpcomment filename.exteverything works fine with the file types .xmp, ,psb, .dng, .tif, .tiff and .jpg.
But with .psd files I get:
Quote'Use of uninitialized value $fileType in string eq at C:\\Program Files\\ExifTool\\exiftool_files/lib/Image/ExifTool/Photoshop.pm line 712.
Use of uninitialized value $fileType in string eq at
C:\\Program Files\\ExifTool\\exiftool_files/lib/Image/ExifTool/Photoshop.pm line 712.'
I haven't tried .psb files yet.
Thanks for reading, malus
Hi Malus,
Very interesting. FileType is not defined because you are ignoring all tags.
I'll patch this in the next release, but until then you can add -api requesttags=filetype to your command.
- Phil
Hi Phil,
I found two more file types:
.psb files produce the same error message as .psd files.
For .dng file I get:
Quote'Use of uninitialized value in pattern match (m//) at C:\\Program Files\\ExifTool\\exiftool_files/lib/Image/ExifTool.pm line 7684.'
Your work around works well for all file types I use.
Thanks for reading, malus
Yes, thanks. This will be fixed in the next release.
- Phil