core webapi缩略图_netcore 图片缩略图
2019-05-09 10:27:01,330 線程ID:[80] 日志級別:ERROR 出錯類:WebApp.HttpGlobalExceptionFilter property:[(null)] - 錯誤描述:System.TypeInitializationException: The type initializer for 'System.DrawingCore.GDIPlus' threw an exception. ---> System.DllNotFoundException: Unable to load shared library 'gdiplus' or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: libgdiplus: cannot open shared objectfile: No such file or directory
at System.DrawingCore.GDIPlus.GdiplusStartup(UInt64& token, GdiplusStartupInput& input, GdiplusStartupOutput&output)
at System.DrawingCore.GDIPlus..cctor()--- End of inner exception stack trace ---at System.DrawingCore.GDIPlus.GdipGetGenericFontFamilySansSerif(IntPtr&fontFamily)
at System.DrawingCore.FontFamily..ctor(GenericFontFamilies genericFamily)
at System.DrawingCore.FontFamily.get_GenericSansSerif()
at System.DrawingCore.Font.CreateFont(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte charSet, Boolean isVertical)
at Common.VerifyCodeHelper.CreateByteByImgVerifyCode(String verifyCode, Int32 width, Int32 height)in F:\src\WebApp\Common\VerifyCodeHelper.cs:line 206at WebApp.Controllers.VerifyCodeController.NumberVerifyCode()in F:\src\WebApp\Controllers\VerifyCodeController.cs:line 27at lambda_method(Closure , Object , Object[] )
at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters)
at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.SyncActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean&isCompleted)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextExceptionFilterAsync()
總結
以上是生活随笔為你收集整理的core webapi缩略图_netcore 图片缩略图的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 2022 胡润中国 500 强榜单发布:
- 下一篇: 英特尔发布 31.0.101.4034