Skip to content

Deprecate unofficial value types#322

Merged
197g merged 1 commit intomainfrom
deprecate-big-rational-types
Jan 8, 2026
Merged

Deprecate unofficial value types#322
197g merged 1 commit intomainfrom
deprecate-big-rational-types

Conversation

@197g
Copy link
Member

@197g 197g commented Jan 8, 2026

Seems they were introduced with BigTiff but since the enumeration of the decoder had no obligation of introducing discriminant values the list was not cross-referenced to libtiff. Hence, some rational types exist with no correspondence to Type in tiff in decoding? They do not appear in BigTIFF either: https://web.archive.org/web/20211022204500/https://www.awaresystems.be/imaging/tiff/bigtiff.html

Notices this while trying to write a byte-buffer / dynamic Type value representation and got stuck at the conversion from ifd::Value here.

Seems they were introduced with BigTiff but since the enumeration of the
decoder had no obligation of introducing discriminant values the list
was not cross-referenced to libtiff. Hence, some rational types exist
with no basis in decoding.
@197g 197g merged commit 169a896 into main Jan 8, 2026
15 checks passed
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