I'm using pyRenamer for many years without problems. Now I have some images from Huawei P20 camera and pyRenamer does not rename approx. 10% of the images. Instead of Date and Time, I get underline instead. The rename pattern I use for many years is:
`{imageyear}-{imagemonth}-{imageday}_{imagetime}_{rand1000-9999,4}_{cameramaker}_{cameramodel}.JPG`
After some research, I found out that
approx. 90% of all images does not have a description. pyRenamer works well with this files (left side of screenshot)
approx. 10% of all images have a description (right side of screenshot). All files seems to have a hexadecimal description.
My guess is that the description
tag is the reason why pyRenamer does not work. Any ideas why Huawei adds a hexadecimal description tag into some images? Now, how can I remove the description tag of the images? Bash commands welcome.
exiftool
, and runexiftool -s ImageDescription <file.jpg>
on the files that pyRenamer says has a "description" tag. Doesexiftool
report the same information? \$\endgroup\$exiftool -s FOV <FILENAME>
and there is a description tag in "bad" image. Comparing the EXIF Informations of the two images gave me following differences: "good" Image has an emptyDocumentName :
. "good" Image has tagDeviceSettingDescription : (Binary data 4 bytes, use -b option to extract)
. \$\endgroup\$ImageDescription : 0590efa16b43c0871d88a7f1412e8696174ac08a1f3b2c23ef11da74d5ea1076
. * "bad" Image has some additional GPS Tags:GPSAltitude
,GPSDateTime
,GPSLatitude
,GPSLongitude
,GPSPosition
,GPSLatitudeRef
,GPSAltitudeRef
,GPSProcessingMethod
,GPSVersionID
,GPSLongitudeRef
,GPSTimeStamp
,GPSDateStamp
. My gues iss still that theImageDescription
tag is causing the problems. Is it possible to remove it with exiftool? \$\endgroup\$