Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

252
Visualizações
How to use ImageMagick in an AWS Lambda function

I am trying to create a lambda that utilizes ImageMagick to convert PDF to images.

For this to work I can upload a binary of ImageMagick.

This approach fails as it seems there are some shared libraries IM depends on.

Is there a way to install ImageMagick either as a layer or get it all packaged up with its dependencies?
Or maybe a different solution all together is the right one.

Right now, I have verified I can upload binaries as part of a Lambda package and call them.

over 4 years ago · Santiago Trujillo
3 Respostas
Responde à pergunta

0

There is image-magick-lambda-layer

And there is a project to compile ImageMagick utilities for AWS Lambda - ImageMagick for AWS Lambda

There was this Youtube video i tried to follow (i didn't tried it myself) - AWS Serverless Lambda Tutorial - How to Use ImageMagick with AWS Lambda?

over 4 years ago · Santiago Trujillo Relatório

0

There is an ImageMagick layer already built out there. It has many of the options already enabled, and if you use it as a shell command, it is runtime independent. Alas, it's PDF conversion functionality is missing. Was not built.
I have achieved my purpose by using a layer that consists of GhostScript binary /opt/bin/gs

over 4 years ago · Santiago Trujillo Relatório

0

There is already a AWS lambda layer build available. Make sure you have docker first, then:

git clone https://github.com/serverlesspub/imagemagick-aws-lambda-2.git
cd imagemagick-aws-lambda-2
make all
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda