Skip to content

Conversation

1c3t3a
Copy link
Contributor

@1c3t3a 1c3t3a commented Sep 29, 2025

Exif metadata for TIFF is funny, as the Tiff file itself is stored in the exif directory structure. So the trivial answer to what is Exif metadata is just the bytes of the file itself.

Note: This is not the most efficient way of obtaining the metadata as it also copies the image bytes, which we technically don't need. The alternative here is to add this to the tiff create and copy the correct metadata sections together. We didn't pursue this route as there were ideas to rework the entire tiff::Value type and this would likely add a huge dependency on the current behavior. We're open for feedback if we should to go down that route, though.

Exif metadata for TIFF is funny, as the Tiff file itself is stored in the exif
directory structure. So the trivial answer to what is Exif metadata is just the
bytes of the file itself...

Co-authored-by: Rasmus Piorr <[email protected]>
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