eberlitz / splashicon-generator

Automatic Icon and Splash resizing for Cordova based projects
MIT License
101 stars 43 forks source link

Invalid Parameter - -set error #23

Closed ryanlin1986 closed 8 years ago

ryanlin1986 commented 8 years ago

Checking Splash & Icon

✓ model\icon.png exists ✓ model\splash.png exists

Generating Icons for ios

{ [Error: Command failed: Invalid Parameter - -set ] timedOut: false, killed: false, code: 4, signal: null }

eberlitz commented 8 years ago

Did you install ImageMagick? And is it accessable from your PATH?

ryanlin1986 commented 8 years ago

image

Yes The ImageMagic is installed correctly. What I have installed version file name is: ImageMagick-7.0.2-4-Q16-x64-dll.exe

eberlitz commented 8 years ago

Execute this command line in dos:

where convert

and paste here the results.

ryanlin1986 commented 8 years ago

C:\Users\ryanl>where convert C:\Windows\System32\convert.exe

eberlitz commented 8 years ago

This is the problem. It didin't find the image magic "convert" tool and is using the windows convert tool.

For me I get this:

λ where convert
C:\Program Files\ImageMagick-6.9.2-Q16\convert.exe
C:\Windows\System32\convert.exe
ryanlin1986 commented 8 years ago

Got it, thanks for the hint, I have to check the following option(which is not enabled by default): image

Please update the readme to mention about it if you have time;)