parse LE/BE indicator bytes

This commit is contained in:
2025-12-09 01:31:47 +01:00
parent 30f5a8d6a1
commit 626218b7fa
6 changed files with 43 additions and 38 deletions

View File

@@ -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)