Class exiftool
Class defined in:src/node-exiftool.js:11
Metadata processing using ExifTool ExifTool by Phil Harvey: http://www.sno.phy.queensu.ca/~phil/exiftool/
buffer
( source, callback
)
src/node-exiftool.js:172
Process a buffer
Parameters:-
source
<Buffer>file content to be processed
-
callback
<Function>executed when done, done(error, metadata)
Object
bufferSync
( source
)
src/node-exiftool.js:152
Process a buffer synchronously
Parameters:-
source
<Buffer>file content to be processed
Returns: <Object>
return object as {err:String, metadata:Object)
Object
fileSync
( filename
)
src/node-exiftool.js:130
Process a file synchronously watch for non-escaped filename when using spawn-sync.spawnSync node v12 is good
Parameters:-
filename
<String>name of the file to be tested
Returns: <Object>
return object as {err:String, metadata:Object)