-
Notifications
You must be signed in to change notification settings - Fork 616
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
'2': 'Invalid Parameter - -resize\r\n', #528
Comments
@LingboTang I have the same problem ... Did you find a solution ?
I get { [Error: Command failed: Invalid Parameter - -resize] code: 4, signal: null } |
No I didn't fix the original, it must be some syntax problem. But I did some kind of hack, and I made gm successfully thumbnail images in S3 bucket. How I did to make it work is to include imageMagick:
other than that, you should also define your .resize() function as a function that would be used to define .size():
|
OK ... I reinstalled ImageMagick checking legacy tools got a different error ... so decided set it to false instead of true and it works now.
|
@gablablle Ok, that's interesting, I don't know where exactly cause the problem. I think there should be some explanation about this. I'll keep this issue here. |
@mattbajorek Hi, I have tried to install imgamagick. But I have not seen the |
Fixed by #846. Released in v1.25.0. |
I'm running the resize.js example on windows 10 using node. And I got this error:
And this is how I modified the resize example
Is there anything wrong with my syntax and how can I resolve it?
The text was updated successfully, but these errors were encountered: