Skip to content

Image size is undefined. #31

@edwardhorsford

Description

@edwardhorsford

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions