node-quickthumb icon indicating copy to clipboard operation
node-quickthumb copied to clipboard

Not working on windows with installed Imagemagick

Open gerbil opened this issue 9 years ago • 5 comments

Command: node make-thumb.js public/images/ /tmp/ 200x200 -p -r

Response: Converting to 200 x 200

events.js:72 throw er; // Unhandled 'error' event ^ Error: spawn ENOENT at errnoException (child_process.js:1001:11) at Process.ChildProcess._handle.onexit (child_process.js:792:34)

gerbil avatar Oct 09 '14 05:10 gerbil

Fixed by updating PATH to use convert command from any folder

gerbil avatar Oct 09 '14 05:10 gerbil

Would be nice if there could be a proper error message if the additional dependency couldn't be loaded. Or just warn and route to the uncompressed image.

Phoscur avatar Mar 27 '15 22:03 Phoscur

Hi @gerbil Can you help me how to set up the PATH that you have mentioned?

jeromemiranda avatar Aug 20 '15 01:08 jeromemiranda

@jeromemiranda Follow this page and add imagemagick folder path : http://www.computerhope.com/issues/ch000549.htm

AamuLumi avatar Sep 04 '15 15:09 AamuLumi

Fixed the issue by uninstalling imagemagick then re-installing it with the option "legacy component" selected. It will include convert.exe, the missing binary in the default install: http://www.imagemagick.org/discourse-server/viewtopic.php?t=29582

jklepatch avatar Feb 08 '17 17:02 jklepatch