-
Notifications
You must be signed in to change notification settings - Fork 4
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
Changed exec for spawn, added better params handling & parsing multiple files #2
base: master
Are you sure you want to change the base?
Conversation
…ild_process.exec', it calls, 'child_process.spawn' which avoids buffer limitations. It also allows to send specific arguments to the 'exiftool' shell command and to read EXIF info from multiple files at once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello ! Nice PR
@@ -15,10 +15,20 @@ | |||
"main": "index", | |||
"repository": { | |||
"type": "git", | |||
"url": "https://github.com/Yvem/node-exif.git" | |||
"url": "https://github.com/jmunox/node-exif.git" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed it too early !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can change that back and remove from npm. I just wanted to do a full test, including testing it as a module. What should i do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's completely fine publishing you own version on npm (open source rulz !) However, you should not include the name/repo change in the PR to the initial repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed it back to the original repo.
@@ -4,7 +4,8 @@ Image meta-information (EXIF, IPTC, XMP...) extraction using [exiftool](http://w | |||
|
|||
__NOTE__: This fork from https://github.com/Yvem/node-exif has a DIFFERENT | |||
(improved !) API. | |||
Changed the implementation. | |||
|
|||
Mayor Changes: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Major
However, I can't be merged because:
|
The other features are nice. |
hi, |
Hi Yves,
I made some changes on the code.
Instead of calling 'exiftool' through 'child_process.exec', it calls: child_process.spawn which avoids buffer limitations.
It also allows to send specific arguments to the 'exiftool' shell command
It can read EXIF info from multiple files at once by calling the path to a folder instead of a file
You can check on https://github.com/jmunox/node-exif
Cheers
Jesus