Skip to content
Discussion options

You must be logged in to vote

TIFF is a container format. Metadata is stored per Image File Directory (IFD), not as a single global block.

In ImageSharp this maps to metadata living on ImageFrameMetadata rather than ImageMetadata, because each frame (page) in a TIFF can legally carry its own independent tag set. That includes XMP, IPTC, EXIF, ICC, resolution, orientation, compression, etc. Multi-page TIFFs commonly differ per frame, and there is no safe or spec-defined way to merge or “globalise” those profiles.

Storing these profiles at the image level would either require arbitrarily picking one frame’s metadata or attempting to merge profiles, both of which are lossy and incorrect. Keeping metadata frame-scoped pre…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@markolbert
Comment options

@JimBobSquarePants
Comment options

Answer selected by markolbert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants