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

Image size is undefined. #31

Open
edwardhorsford opened this issue Oct 25, 2018 · 0 comments
Open

Image size is undefined. #31

edwardhorsford opened this issue Oct 25, 2018 · 0 comments

Comments

@edwardhorsford
Copy link

edwardhorsford commented Oct 25, 2018

I've got several images that report 'undefined' for imagesize. All other exif attributes look good.

These images have been exported from Lightroom like all my other images - I don't know what's special about them. Of the 8 I just exported, 3 have this issue. I've tried exporting again and still don't get a value for imagesize.

The other library I use for reading image size (for non jpeg formats) image-size is able to read the size fine.

I'm passing the first 65635 bytes to exif-parser like this:
var imageData = readChunk.sync(fullPath, 0, 65635);

Example image:
enmh_d800_38656

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