subscribe

Use ImageMagick with a Lambda function on AWS

ImageMagick is a popular open source utility to transform images. It used to be installed on the OS which lambda functions use, but was removed in the latest version.

In this video we look at how to use ImageMagick in a lambda function using lambda layers. We look at an open source project which creates a layer for us that has the ImageMagick binaries, then we attach this layer to our function and use ImageMagick to resize an image. Finally, we save the resized image to an S3 bucket.

⚡️ Links: