A stand alone microservice written in Python3.8 for AWS Lambda to convert pages of a .pdf file into images. This microservice is written with the help of pdf2image.py. pdf2image.py is a Python module that wraps pdftoppm and pdftocairo to convert PDF to a PIL Image object.
git clone https://github.com/shibisuriya/pdf2image-AWS-Lambda-API.git
chmod 777 ./package.sh
./package.sh
Or zip the /src folder manually...
If we send a base64 pdf string as request to the API, we will recieve an array of base64 images.