0

如何在不使用“元文件类”的情况下将 emf(图像/x-emf)文件转换为 png,这在 Azure Web 应用程序中似乎不起作用。它适用于自托管网站。

我似乎没有找到任何替代方案。

源代码: https ://github.com/KeesCBakker/KeesTalksTech-Utility-Pack/tree/master/KeesTalksTech-Utility-Pack/KeesTalksTech.Utilities/Graphics

这是一个似乎有类似错误的人: Calling Chart.SaveImage() in Azure WebApp results in GDI+ Exception for ChartImageFormat.EMF only

4

1 回答 1

1

Azure Web App 在沙盒中运行,一些 GDI+ 组件没有权限。有关 Azure Web App 沙盒的详细信息,请参阅本文。对于这种情况,请尝试使用云服务或 azure VM。

于 2017-01-30T23:08:04.097 回答