Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't resize image #19

Open
OtakuAndFitness opened this issue Jul 15, 2016 · 6 comments
Open

Can't resize image #19

OtakuAndFitness opened this issue Jul 15, 2016 · 6 comments

Comments

@OtakuAndFitness
Copy link

OtakuAndFitness commented Jul 15, 2016

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)

@OtakuAndFitness OtakuAndFitness changed the title Can Can't install quickthumb Jul 15, 2016
@OtakuAndFitness OtakuAndFitness changed the title Can't install quickthumb Can't resize image Jul 15, 2016
@zivester
Copy link
Owner

More details appreciated, do you have imagemagick or graphicsmagick installed?

@jialbanc
Copy link

Any news about this issue? getting same here.

@zivester
Copy link
Owner

@jialbanc could you provide more details? Do you have imagemagick or graphicsmagick installed?

@jialbanc
Copy link

jialbanc commented Mar 19, 2018

@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

@zivester
Copy link
Owner

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.

@Samueleroux
Copy link

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.

capture

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants