Skip to content

feat: Support BigTiff#32

Draft
jayvdb wants to merge 3 commits intomindeng:mainfrom
jayvdb:exif-bif
Draft

feat: Support BigTiff#32
jayvdb wants to merge 3 commits intomindeng:mainfrom
jayvdb:exif-bif

Conversation

@jayvdb
Copy link
Copy Markdown
Contributor

@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
@mindeng
Copy link
Copy Markdown
Owner

mindeng commented Dec 8, 2024

As long as the external API facing the users remain compatible, I think changes to the internal implementation are acceptable. Great PR, looking forward to you completing this feature. Thank you!

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.

2 participants