Closed vampiricwulf closed 9 years ago
This will recompress the image and degrade JPEG quality. Use exiftool instead.
Another dependency... But that's just pain, it's why I still haven't pulled that piquant stuff.
The beauty of node is it's compatibility with other CLI tools.
The beauty of node is it's compatibility with other CLI tools.
But the issue is that I already don't know where in doushio's code is the configurations for these CLI tools, nor do I know how to write my own CLI tool into node.
Simply get the absolute path with which (which('ffmpeg', function (bin) { ffmpegBin = bin; });
) and then execute with childprocess (child_process.execFile(ffmpegBin, args, opts, function (err, stdout, stderr) {foo...})
).
Where do you think I should put the stripping process? IU.verify_image
? IU.process
?
Probably best to put it before IU.deduped as a separate method. Should also be skipped for webm.
32f08850067a6c417daf0d08c0564fe2f22930b2
http://www.imagemagick.org/script/command-line-options.php#strip