vvo / gifify

😻 Convert any video file to an optimized animated GIF.
ISC License
6.21k stars 314 forks source link

Could not find convert #62

Open UglyMelon007 opened 8 years ago

UglyMelon007 commented 8 years ago

image

UglyMelon007 commented 8 years ago

I install convert ,it prompt node-waf node found but the node-waf package has been replaced by node-gyp o.o

vvo commented 8 years ago

Hi @UglyMelon007 this seems a rather windows-related bug. I am not very skilled in those since I am using Linux.

It seems some people managed to get gifify working on windows still like @aledelgo, maybe he can help you?

regosen commented 8 years ago

I'm having the same problem on OSX:

screen shot 2016-09-14 at 3 44 39 pm

But I already installed that using the instructions here: https://github.com/vvo/gifify#requirements

convert, the famous ImageMagick ($ brew install imagemagick --with-fontconfig)
regosen commented 8 years ago

I think I figured out the problem. I had previously installed an older version of imagemagick and had to re-link it:

brew link --overwrite imagemagick
vvo commented 8 years ago

Thanks!

gkhays commented 7 years ago

TL;DR: Create a Windows batch file in the path used by gifify, e.g.

"C:\Program Files\ImageMagick-7.0.5-Q16\magick.exe" %*

I ran into the problem on Windows 10. There is already a system utility named convert that is used for file system conversion.

C:\WINDOWS\system32>which convert
C:\WINDOWS\system32\convert.EXE

C:\WINDOWS\system32>convert /?
Converts a FAT volume to NTFS.

CONVERT volume /FS:NTFS [/V] [/CvtArea:filename] [/NoSecurity] [/X]

...

Additionally, I am using ImageMagick-7.0.5-Q16. I found a couple of articles indicating the functionality of convert has been replaced by magick in version 7.

I tried a link file with little success and ended up using a batch file (convert.bat).

jmbeach commented 4 years ago

Like gkhays pointed out, there is an exe in System32 which windows will pick up first. To fix this in powershell you can run this: $env:Path = "C:\Users\jared\path-to-convert\;$env:Path"

Now the imagemagick convert exe gets found.