node-quickthumb
node-quickthumb copied to clipboard
Can't resize image
It said this error: events.js:85 throw er; // Unhandled 'error' event ^ Error: spawn identify ENOENT at exports._errnoException (util.js:746:11) at Process._handle.onexit (child_process.js:1053:32) at child_process.js:1144:20 at process._tickCallback (node.js:355:11)
More details appreciated, do you have imagemagick or graphicsmagick installed?
Any news about this issue? getting same here.
@jialbanc could you provide more details? Do you have imagemagick or graphicsmagick installed?
@zivester Yes I installed this one for Windows (ImageMagick-7.0.7-26-Q16-x64-dll.exe) https://www.imagemagick.org/script/download.php#windows, it throws the same error
events.js:161
throw er; // Unhandled 'error' event
^
Error: spawn identify ENOENT
at exports._errnoException (util.js:1023:11)
at Process.ChildProcess._handle.onexit (internal/child_process.js:193:32)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
The command magick -version it shows
Version: ImageMagick 7.0.7-26 Q16 x64 2018-03-12 http://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: http://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg lcms lqr openexr pangocairo png ps raw rsvg tiff webp xml zlib
Sorry I don't have a windows machine to test this out... my first guess is that the identify
command is not available with your installed version of imagemagick. I'm not sure if the library I'm using supports Windows (https://github.com/rsms/node-imagemagick).
I believe the library would need to move to graphiksmagick or a native port of imagemagick (such as https://github.com/elad/node-imagemagick-native) to work on Windows. Unfortunately I don't have the time at the moment to port the project.
The problem come from Imagemagick during the installation there is a button you need to check that tells the script to install "legacy" utilities.
Just reinstall Imagemagick with this option activated and quickthumb work on windows.