-
Notifications
You must be signed in to change notification settings - Fork 165
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
Ask for update to lastest ImageMagick and Nodejs #51
Comments
I have done this recently for Nodejs v20 and arm chipset. You can download the layer.zip from the archive here. https://github.com/CyprusCodes/imagemagick-aws-lambda-2/tree/master/archive |
@ersel I used the lastest gm to handle image processing. However, the lambda function returns this error:
This happens because the gm library could not interact with ImageMagick's API, therefore the resize function's output is null as you can see in the log above in the second row. I used lambda node20 for ARM and your layer only. Here is my code for using GM:
Do you have any ideas about why it happens, please? |
@ersel how do I use the zip file that you've shared? |
@johnpc upload the file as a Lambda Layer using the AWS dashboard |
Ah, I missed the part about how it requires arm. Is it possible to make an x86 version? |
The Nodejs v10 is no longer supported by AWS. Could you please update your layer to support node v20. I could not do it :((
The text was updated successfully, but these errors were encountered: