I'm struggling with some nodejs code (with this library https://github.com/gomfunkel/node-exif).
new ExifImage({image: image}, function (error, exifData) {
if (error) {
console.log('Error: ' + error.message);
}
else {
console.log(exifData); // Do something with your data!
}
});
My question is how to retrieve exifData
outside? I don't want to embed my code inside because is pretty big.
I need this to be synchronous.
Thanks.