Skip to content

Conversation

dbartussek
Copy link

I'm using image-tiff to write DNG files, using a lot of currently Unknown tags as a result.
For forward compatibility once some of these tags are defined (#47, #210), I'm using Tag::from_u16_exhaustive.

This patch changes the u16 conversion functions to be const functions so Tag constants can be defined from raw numeric ids without having to always define them as Unknown.

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