Node.js and ExifTool

Started by 80leaves, February 24, 2013, 05:24:55 PM

Previous topic - Next topic

80leaves

Hey everyone,

does anyone know how it might be possible to use exiftool with node.js? Maybe there are already a few attempts to do so, but I haven't found anything so far.

Thanks
eighty

mexitek

Shouldn't be too difficult. As long as exiftool is installed in a location where it is globally accessible. You can export the meta data in json by using the json flag.

exiftool -json path/to/image.jpg


Here are some examples on how to run shell commands in node.
http://stackoverflow.com/questions/14458508/node-js-shell-command-execution