Open
Description
When I tried to parse the below image, I got KeyError 'E' from the line logger.debug("Endian format is %s (%s)", endian, {
. I've processed the image by running exifread.process_file(image, details=False, stop_tag="DateTimeOriginal")
command.
/usr/local/lib/python3.8/site-packages/exifread/__init__.py, line 147, in process_file
return {}
except InvalidExif as err:
logger.debug(err)
return {}
endian = chr(ord_(endian[0]))
# deal with the EXIF info we found
logger.debug("Endian format is %s (%s)", endian, { …
'I': 'Intel',
'M': 'Motorola',
'\x01': 'Adobe Ducky',
'd': 'XMP/Adobe unknown'
}[endian])
Metadata
Metadata
Assignees
Labels
No labels