thnew / Pdf2Png

A NodeJS module, converting PDFs to PNG
27 stars 30 forks source link

Azure Function app support #11

Open donniekerr opened 6 years ago

donniekerr commented 6 years ago

I have confirmed with Microsoft that their Windows sandbox blocks the use of pdf2png and other PDF related libraries. I've tested my app in both v1 and v2 of Azure Functions. See the references here to the restrictions https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#unsupported-frameworks
and some references to PDF things that violate these restrictions.

You say pdf2png was tested in Azure. Can you tell me how you deployed it to Azure? Also, any idea what in pdf2png might be violating? Microsoft didn't tell me exactly what pdf2png violates.

I'd really like to get it working in my Azure Function, without have to move to my own VM that would remove the sandbox restriction.

Any ideas?

Thanks, Donnie

thnew commented 6 years ago

hi, sorry for the late response. This module is using ghostscript as an exe. Maybe they blocked this on azure for whatever reason.

thnew commented 6 years ago

were sou able to resolve the problem?