At the moment we are changing our Doc(x) to Pdf conversion to use an Azure Function.
So instead of using FileFormat.Pdf we use the ToPdfParameterList in a .NET standard based Azure function.
This works great, except the file size from the Azure converted PDF is much larger then the one saved directly to disk using the PDF format.
The locally created pdf are approx 20kb in size, the azure function converted ones are almost 100kb in size (a factor 5 increase).
Is there a specific reason for this? can this be fixed or influenced?