Skip to content

Update index.ts#59

Open
Salketer wants to merge 1 commit intohMatoba:2.0from
Salketer:2.0
Open

Update index.ts#59
Salketer wants to merge 1 commit intohMatoba:2.0from
Salketer:2.0

Conversation

@Salketer
Copy link

Do not try to extract thumbnail if there is no pointer.

Do not try to extract thumbnail if there is no pointer.
@hMatoba
Copy link
Owner

hMatoba commented Dec 19, 2018

"firstIfdPointer" gets null? I think it's no.
https://github.com/hMatoba/piexifjs/blob/2.0/src/utils.ts#L547

@Salketer
Copy link
Author

I am very sorry I do not have the image that caused that anymore... But this corrected it. Sorry I do not know much of exif so can't really help. The only thing I know is that I was getting null at that spot. Maybe it was due to some incorrect exif in the first place.

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

Successfully merging this pull request may close these issues.

2 participants