parse LE/BE indicator bytes
This commit is contained in:
@@ -8,7 +8,7 @@ date = get_raw_ifd_tag(file_path=file_path)
|
||||
print(date)
|
||||
|
||||
# Get the camera brand name
|
||||
make = get_raw_ifd_tag(file_path=file_path, tag_bytes=IFDTagMap.Make)
|
||||
make = get_raw_ifd_tag(file_path=file_path, ifd_tag=IFDTagMap.Make)
|
||||
print(make)
|
||||
|
||||
# If the buffer from 0x80000 (512k) inst enough for parsing the IFD tag,
|
||||
@@ -16,4 +16,4 @@ print(make)
|
||||
# 0x80000 | 524288
|
||||
# 0x100000 | 1048576
|
||||
date = get_raw_ifd_tag(file_path=file_path, read_buffer=0x100000)
|
||||
print(date)
|
||||
print(date)
|
||||
|
||||
Reference in New Issue
Block a user