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

Error on default case in EXIF LatLng method #77

Open
blixenkrone opened this issue Aug 27, 2019 · 0 comments
Open

Error on default case in EXIF LatLng method #77

blixenkrone opened this issue Aug 27, 2019 · 0 comments

Comments

@blixenkrone
Copy link

Hello!

In the

switch tag.Format() {
	case tiff.RatVal:

the set tag.format struct value doesn't seem to be correct. (exif.go L: 482).
My images, which contains valid EXIF data, is not being seen as RatVal or StringVal, so the default case catches it, and returns an error. If i insert the logic from the tiff.RatVal case, the output of LatLng is correct.
I'm not one to make suggestions, but i'm guessing there's a minor bug here.

I can provide code/pictures if needed.

Thank you for a good lib!

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

1 participant