How can I install GraphicsMagick or ImageMagick on AWS Lambda?
I am using the gm package for Node.js along with the default ImageMagick installation that is available on AWS Lambda. const gm = require('gm').subClass({ imageMagick: true }); For some reason, the resize functionality fails for certain images. I created an EC2 instance with Amazon Linux AMI (ami-hvm-2016.03.3.x86_64-gp2). I installed the (old) 6.x version of ImageMagick that is available from yum . When I run my script with that install on the EC2 instance, it reproduces the failure I see when the code runs on Lambda, confirming it is something with this version of IM that is causing the