You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
wouldn't it be possible to change: new ExifImage({ image : 'myImage.jpg' }, function (error, exifData) {
into new ExifImage({ image : 'myImage.jpg' }, function (error, exifData, filename) {
so I inside the callback function can see which file is haveing the exifData
The text was updated successfully, but these errors were encountered:
This is an omission from the documentation - from the source it appears the callback is already calling out with 1 or 3 arguments: callback(error);
or callback(null, exifData, ops.image);
In fact this caused a bug for me because bluebird 2.x promisify reinterprets multiple callback arguments into an array.
wouldn't it be possible to change:
new ExifImage({ image : 'myImage.jpg' }, function (error, exifData) {
into
new ExifImage({ image : 'myImage.jpg' }, function (error, exifData, filename) {
so I inside the callback function can see which file is haveing the exifData
The text was updated successfully, but these errors were encountered: