Reputation: 680
How can I convert emf (image/x-emf) files to png without using "MetaFile class" which seems to not work in Azure Web Apps. It works on self hosted sites.
I don't seem to find any alternative.
Here is someone who seems to have similar error: Calling Chart.SaveImage() in Azure WebApp results in GDI+ Exception for ChartImageFormat.EMF only
Upvotes: 1
Views: 699
Reputation: 3293
Azure Web App runs in sandbox, some GDI+ components do not have permission. Please refer to this article for more information about Azure Web App sandbox. For this scenario, please try to use cloud service or azure VM.
Upvotes: 1