dwmkerr / node-imagemagick-cli

Access the ImageMagick CLI tools from Node. No dependencies, cross-platform, with support for ImageMagick 6 and 7.
8 stars 2 forks source link

Support for windows imagemagick path with spaces #5

Closed colomboe closed 6 years ago

colomboe commented 6 years ago

My experience with node-imagemagick-cli is that it doesn't work if the "magick" executable's path (on Windows) contains one or more spaces. Since usually programs are installed on Windows under the "...\Program Files..." path it could be a common situation.

I've made a small change in order to make it work; I've tested it under Windows and under OS X. I don't know if it also works under Linux.

dwmkerr commented 6 years ago

Great! I've just released v0.2 with this fix, I've also updated the test for it. Thanks very much @colomboe!

dwmkerr commented 6 years ago

https://github.com/dwmkerr/node-imagemagick-cli/releases/tag/v0.2.0