A question about pexif info updated

المشرف العام

Administrator
طاقم الإدارة
I tried to use pexif to update my photo EXIF with following the work on StackExchange (How to save geodatabase attachments to disk with updated exif data). However, I got the below error message when I used pexif.JpegFile.fromFile for it. Would you please tell me how to resolve it?

> img = pexif.JpegFile.fromFile('IOP_002.jpg')Traceback (most recent call last): File "", line 1, in img = pexif.JpegFile.fromFile('IOP_002.jpg') File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 944, in fromFile return JpegFile(open(filename, "rb"), filename=filename, mode=mode) File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 1003, in __init__ attempt = segment_class(mark, input, data, self.mode) File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 801, in __init__ DefaultSegment.__init__(self, marker, fd, data, mode) File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 143, in __init__ self.parse_data(data) File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 845, in parse_data ifd = IfdTIFF(self.e, offset, self, self.mode, tiff_data) File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 421, in __init__ self.special_handler(tag, actual_data) File "C:\Ernie_Liu\EXIF_extraction\pexif-0.13\pexif.py", line 749, in special_handler if self.tags[tag][1] == "Make":KeyError: 50341

أكثر...
 
أعلى