I am trying to use the PdfRenderer to generate thumbnails for the pdf documents. This all works perfectly on my local machine because the PDfRender is able to generate the Pdfium.dll locally. I trying to wrap all this functionality into a nice nuget package for my team to use when deploying application to the Azure cloud, however the dll is unable to be created at runtime due to the permission in the Azure App Services. I have attempted to deploy the dll directly to the app server but that doesnt work, and I cant seem to find a way to bundle the dll directly with the library.
I thought maybe using the PdfViewControl would work better but there are a lot of dependencies for Windows.Forms that dont make sense for a web based library.
Are there any options for converting a page of PDF to an image that dont require windows forms or that the run time generate a dll?
Is there another library I can include that will deploy the Pdfium.dll without the need for the runtime to create it?