Open bodhiye opened 4 years ago
Check if you have the file open in another place. If so, that might have seeked forward, so the pointer is at the end.
Having same issue. I can reproduce using example from README. I am on go 1.17 and ubuntu 21.10
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?
file, err := os.Open("/tmp/rotation.jpeg") assert.Nil(t, err) defer file.Close() _, err = exif.Decode(file) assert.Nil(t, err)