Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support BigTiff #32

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

feat: Support BigTiff #32

wants to merge 3 commits into from

Conversation

jayvdb
Copy link

@jayvdb jayvdb commented Nov 29, 2024

See https://www.loc.gov/preservation/digital/formats/fdd/fdd000328.shtml

A few tests are failing, but those are fixable.

Still a few things to do, especially IFD vs IFD8 for sub-IFD

Pushing up to see if this change of API is acceptable?

If not changing u32 -> u64 for all the IFD offsets, either we need the TiffHeader to have two variants. TiffHeader could become an enum, or TiffHeader, ExifIter, etc could use generics to allow the offsets to be u32 or u64.

If changing all IFD offsets to be u64, the pub functions will need to check that for "Small" Tiffs the offset provided is lower than u32::MAX.

@jayvdb jayvdb mentioned this pull request Nov 30, 2024
this is green

cargo nextest run --all-features --lib _bif_tif_exif_expects
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant