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

Remap Exif-JS Usage Until Updated #41

Closed
ammuench opened this issue Sep 14, 2019 · 11 comments
Closed

Remap Exif-JS Usage Until Updated #41

ammuench opened this issue Sep 14, 2019 · 11 comments

Comments

@ammuench
Copy link

The most current version of exif-js is 2.3.0 and was updated years ago. However, the version was uploaded with the following bug: exif-js/exif-js#214

As a result, ng2-img-max also will hit that issue when uploading some files. I have fixed this issue in my local by forking the current state of exif-js and adding it to my package manifest as a git repo instead, so that the "undefined n" issue is fixed.

ng2-img-max should either make the same decision and commit the changes or look for an alternative exif library, as it appears the issue will not be fixed in exif-js any time soon (the last update was over a year ago)

@matteobucci
Copy link

Hi @ammuench, I'm facing the same issue and have reached the same conclusions about the problem. Could you please explain which edit you have made in order to it working? Thanks

@Methodician
Copy link

So you had to fork the library just to get around this bug? Has anyone found a good EXIF reader library that is kept up to date? All I use this for is to catch orientation issues in my app, and it is such a slog to work through this library...

@ammuench
Copy link
Author

Yeah, I'm happy to publish the fixes I made once I figure out the licensing in order to unblock people if it would be helpful @Methodician

@bergben
Copy link
Owner

bergben commented Feb 20, 2020

@ammuench If you are interested you may also update ng2-img-max. This library would greatly benefit from an active maintainer. Please let me know if you would be so kind to help out with this and I'd transfer it to you

There is an open PR for this too: #44

@ammuench
Copy link
Author

ammuench commented Feb 20, 2020 via email

@ammuench
Copy link
Author

@bergben Feel free to reach out to me via email if you'd like to discuss further

@MikeKovarik
Copy link
Contributor

Hello. exif-js seems to be dead since it hasn't been updated in two years. Because of that I have been developing my own library exifr where performance was the main focus. I'd be happy to do a pull request :)

@bergben
Copy link
Owner

bergben commented Mar 9, 2020

@MikeKovarik looks promising! If you would be so kind to open a PR then I'm happy to merge it in and release a new version on npm :)

@MikeKovarik
Copy link
Contributor

@bergben awesome! :) So here it is.

I discovered ng2-img-max is dependent on ng2-pica which also uses exif-js so I thought it'd be better to start there

PR for ng2-pica: bergben/ng2-pica#13
PR for ng2-img-max: #46 but i suppose here we should wait for the ng2-pica to be updated first and then raise the version here.

Thank you

@bergben
Copy link
Owner

bergben commented Mar 12, 2020

Merged both PRs, updated ng2-pica version in ng2-img-max

released on npm

  • pica 1.3.0
  • ng2-img-max 2.2.1

Thanks @MikeKovarik

@bergben bergben closed this as completed Mar 12, 2020
@bergben bergben reopened this Mar 13, 2020
@bergben
Copy link
Owner

bergben commented Mar 13, 2020

Please use ng2-img-max 2.2.1, 2.2.0 is broken.

@bergben bergben closed this as completed Mar 13, 2020
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

5 participants