serverlesspub / imagemagick-aws-lambda-2

ImageMagick for AWS Lambda 2 runtimes
https://serverless.pub
Other
259 stars 163 forks source link

lambda with imagemagick not working 10.x #14

Closed patelmm closed 4 years ago

patelmm commented 4 years ago

node 8.10 working fine but when we try to update node version 10.x the getting some errors.

due to an error: Error: Stream yields empty buffer

Can you please help me out.

gojko commented 4 years ago

hi - in order to help you'll need to provide a bit more context - what you are executing, how, and what you're passing in. creating a minimal executable project that demonstrates the problem would be very beneficial here.

patelmm commented 4 years ago

I have setup lambda function with imagemagic its working fine node 8.10 but when i try to convert webp then getting some errors. So i'm finding solution.

gojko commented 4 years ago

webp isn't built into this layer by default, you'll need to add the webp library into https://github.com/serverlesspub/imagemagick-aws-lambda-2/blob/master/Makefile_ImageMagick, similarly how png and jpg are added