Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #250 from akreitals/app-path

Added option to set ImageMagick application path explicitly
  • Loading branch information...
commit d6915c50351f23193393c45d900c58fa0269b128 2 parents 7b09f1e + 17dd776
@jonathanong jonathanong authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/command.js
View
3  lib/command.js
@@ -179,8 +179,9 @@ module.exports = function (proto) {
*/
proto._spawn = function _spawn (args, bufferOutput, callback) {
+ var appPath = this._options.appPath || '';
var bin = this._options.imageMagick
- ? args.shift()
+ ? appPath + args.shift()
: 'gm'
var proc = spawn(bin, args)
Please sign in to comment.
Something went wrong with that request. Please try again.