I ran into a problem.
Because of Azure limitations, System.Drawing.Common cannot be used.
Azure Web App sandbox · projectkudu/kudu Wiki · GitHub
Hi Yousuke,
Due to platform limitations, we are unable to provide
metafile support in Azure Function. To preserve the expected images in the PDF, we suggest you
convert the metafile image formats to bitmap image format (JPEG or PNG)
manually in the input PowerPoint document and then perform Presentation to PDF
conversion.
Regards,
Anto Nihil S
Hi Anto,
I am looking to build a system that automatically converts user uploaded events into triggers.
Manual conversion is difficult because of the large number of users and files.
Aspose and Spire support metafile conversion, why doesn't Syncfusion?
Regards,
Yousuke Kawamura
Hi Yousuke,
Currently, we are analyzing the feasibility to provide metafile support and will update you with more
details on 18th May 2022.
Regards,
Anto Nihil S
Hi Yousuke,
Thank you for your
patience.
I am looking to build a system that automatically converts user uploaded events into triggers.
We can be able to find the Metafile images used in the input PowerPoint document and able to convert it as Bitmap images by using System.Drawing APIs, when application is running in a Windows environment. If needed, we can provide the sample for this conversion. Please check the feasibility in your end and let us know to proceed further in this.
Aspose and Spire support metafile conversion, why doesn't Syncfusion?
Internally, we are using the Syncfusion PDF library to draw the text and images in PDF document during PPTX to PDF conversion. As you mentioned, due to the limitation of Azure we are unable to draw the Metafile images directly in PDF.
But
competitor (Aspose) has a separate image parser engine to parse and convert a
Metafile image into Bitmap image in Azure and then they are drawing the
converted bitmap image in the resultant PDF document. As we mentioned earlier at
present Syncfusion library does not provide support to draw a metafile image in the Azure function and we will plan this feature once it supported by Microsoft Azure.
Regards,
Anto Nihil S