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

exif decode return errors.errorString{s:"EOF"} #78

Open
bodhiye opened this issue Jun 5, 2020 · 3 comments
Open

exif decode return errors.errorString{s:"EOF"} #78

bodhiye opened this issue Jun 5, 2020 · 3 comments

Comments

@bodhiye
Copy link

bodhiye commented Jun 5, 2020

file, err := os.Open("/tmp/rotation.jpeg")
assert.Nil(t, err)
defer file.Close()
_, err = exif.Decode(file)
assert.Nil(t, err)

@hsmade
Copy link

hsmade commented Feb 16, 2021

Check if you have the file open in another place. If so, that might have seeked forward, so the pointer is at the end.

@itmeze
Copy link

itmeze commented Nov 24, 2021

Having same issue. I can reproduce using example from README. I am on go 1.17 and ubuntu 21.10

@TheBellman
Copy link

I would say this is the same error as for #66 and #56 - looking at func newAppSec() it appears to never find the target data it is seeking, and iterates to the end of file before throwing an EOF.

I'm also not sure if the author is still maintaining this package?

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

4 participants