如何在不使用“元文件类”的情况下将 emf(图像/x-emf)文件转换为 png,这在 Azure Web 应用程序中似乎不起作用。它适用于自托管网站。
我似乎没有找到任何替代方案。
这是一个似乎有类似错误的人: Calling Chart.SaveImage() in Azure WebApp results in GDI+ Exception for ChartImageFormat.EMF only
如何在不使用“元文件类”的情况下将 emf(图像/x-emf)文件转换为 png,这在 Azure Web 应用程序中似乎不起作用。它适用于自托管网站。
我似乎没有找到任何替代方案。
这是一个似乎有类似错误的人: Calling Chart.SaveImage() in Azure WebApp results in GDI+ Exception for ChartImageFormat.EMF only
Azure Web App 在沙盒中运行,一些 GDI+ 组件没有权限。有关 Azure Web App 沙盒的详细信息,请参阅本文。对于这种情况,请尝试使用云服务或 azure VM。