Serverless function that can consume a PDF document residing on Azure Blob Storage, and split each page into an individual PDF.
- Create a Function App (OS = Linux; Runtime stack = Python)
- Install Visual Studio Code
- Install the Azure Functions extension for Visual Studio Code
If you are new to deploying Python to Azure Functions, check out this document.
Once the Azure Function is deployed, the function can be tested via Postman with the following HTTP headers:
- account_name (Storage account name)
- account_key (Available via the Azure Portal > Storage Account > Access Keys)
- input_container (The container within Azure Blob Storage where the input file resides)
- output_container (The container within Azure Blob Storage where the split pages will be exported to)
- blob_name (The name of the original PDF document)