ExifTool Forum

ExifTool => Developers => Topic started by: 80leaves on February 24, 2013, 05:24:55 PM

Title: Node.js and ExifTool
Post by: 80leaves on February 24, 2013, 05:24:55 PM
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
Title: Re: Node.js and ExifTool
Post by: mexitek on July 08, 2013, 05:43:58 PM
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