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

Error: Command failed: Invalid Parameter - -resize #77

Closed
ShailajaV opened this issue Mar 9, 2017 · 5 comments
Closed

Error: Command failed: Invalid Parameter - -resize #77

ShailajaV opened this issue Mar 9, 2017 · 5 comments
Assignees

Comments

@ShailajaV
Copy link

yo rn-toolbox:assets --icon path/icon.png
When i run the above command in my project i am getting following error:
throw er; // Unhandled 'error' event
^

Error: Command failed: Invalid Parameter - -resize

I am running this on android and my icon size is 192*192.

@Almouro
Copy link
Member

Almouro commented Mar 9, 2017

Hi @ShailajaV, thanks for posting an issue here! :)

Are you running on Windows? If so, this problem seems to be related to this ImageMagick issue.

Apparently, reinstalling ImageMagick with the legacy tools would fix it:

image

I don't have a Windows computer available. :\ Can you tell me if this works for you? :)

@Almouro Almouro self-assigned this Mar 9, 2017
@ShailajaV
Copy link
Author

Hi Almouro,
Thank you so much. It worked perfectly.

@Almouro
Copy link
Member

Almouro commented Mar 9, 2017

@ShailajaV Great to hear!
I'm adding a Troubleshooting section in the Readme then :) (#78)

@ShailajaV
Copy link
Author

Hi,

Its working fine after i restart it. Thanks for the help.

@sohamkumar-chauhan
Copy link

sohamkumar-chauhan commented Feb 7, 2020

I am getting the same problem working with npm imagemagick package on the following function call:

im.convert([localPath, '-resize', '100x100', thumbPath], function (err, stdout, stderr)

What should I do?

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

No branches or pull requests

3 participants