aholicger.blogg.se

Exiftool command line
Exiftool command line










exiftool command line

node-exiftool/benchmark/photos/IMG_3054.JPG: 166ms node-exiftool/benchmark/photos/IMG_3052.JPG: 166ms node-exiftool/benchmark/photos/IMG_3051.JPG: 168ms

exiftool command line

Here are some of our results: > node benchmark/run In the benchmark/photos directory, and if none was found, will work on testįixtures. To start the benchmark, execute npm run bench. Received, the promise returned by writeMetadata function will be resolved. Once both stderr and stdout datas have been RequireĬonst exiftool = require ( 'node-exiftool' ) const cp = require ( 'child_process' ) function killProcess ( name ). The package creates a process asynchronously and listens for stdout and stderr dataĮvents and uses promises thus avoiding blocking the Node's event loop. There is no overhead related to starting a new process to read every file or directory. The module spawns an exiftool process with -stay_open True - arguments, so that You can also useĮxiftool distribution appropriate for your platform. Will try to spawn exiftool, therefore you must install it manually. Uploaded to your server by users to rotate generated previews accordingly, as wellĪs appending copyright information to photos usingĮxiftool is not distributed with node-exiftool. Is very powerful and allows to do such things as extracting orientation from JPEG files Phil Harvey in Perl which can read and write metadata to a number of file formats. A Node.js interface to the exiftool command-line application.












Exiftool command line