基于与此相关的许多问题,似乎Azure应用程序服务或功能应用程序中不支持System.Drawing.Common。
然而,IronPDF文档建议,它应该在Azure上的任何地方工作,除非正在渲染SVG图形,在这种情况下,他们建议使用容器。
所以我的问题是,如果我要转换为PDF的超文本标记语言没有任何SVG图形,它将在S1层应用程序服务或函数应用程序中工作吗?

参考文献:
Azure Function gives error: System.Drawing is not supported on this platform
https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#win32ksys-user32gdi32-restrictions
发布于 2021-10-01 08:15:56
分享发帖者所报道的相同问题的答案:
由于缺乏GDI+ / System.Drawing.Common支持,使用IronPDF的旧Azure函数可能会报告此问题:
System.Drawing.Common: System.Drawing is not supported on this platform.从2021年起,你可以将你的Azure功能切换到v3。
在“Azure Function App”设置面板中选择
有关如何Run HTML to PDF on Azure的更多信息,请参阅链接教程。
https://stackoverflow.com/questions/69371832
复制相似问题