Skip to content
Serverless template that creates a lambda to convert a pdf to a bunch of images
JavaScript Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
__tests__
resources
.gitignore
README.md
package.json
pdf2img.js
pdfcount.sh
serverless.yml
yarn.lock

README.md

Based on pdf2img-lambda-friendly - https://www.npmjs.com/package/pdf2img-lambda-friendly

Need to add lambda-ghostscript under lambda-ghostscript/ folder

To invoke locally

serverless invoke local --function pdf2img --data '{"Records":[{"s3": { "object": { "key":"pdfs/{user}.pdf"}}}]}'
You can’t perform that action at this time.