Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide method to get tag name #45

Open
JosiahParry opened this issue Oct 18, 2024 · 1 comment
Open

provide method to get tag name #45

JosiahParry opened this issue Oct 18, 2024 · 1 comment

Comments

@JosiahParry
Copy link

exif-rs provides the tag number but no way to get the tag name.

At present, the best path forward I can see as a user is to scape the EXIF tags at https://exiftool.org/TagNames/EXIF.html and create a lookup that I store as a const or lazy static in my crate.

It would be great if there were a better way to get the tag name.

@kamadak
Copy link
Owner

kamadak commented Nov 1, 2024

Tag implements std::fmt::Display, so try tag.to_string().

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

No branches or pull requests

2 participants