Piexif icon indicating copy to clipboard operation
Piexif copied to clipboard

ascii values without \x00 ending

Open EasyIsrael opened this issue 4 years ago • 0 comments

in some images there are ascii values without terminating null character ( \x00 ). this is a fix for that case. It reduces all characters after a null character in an ascii text

the Github- project exifread solves this problem the same way. Have a look at https://github.com/ianare/exif-py/blob/develop/exifread/classes.py in method _process_field2 on line 193.

EasyIsrael avatar Jan 19 '22 09:01 EasyIsrael