Only basic parameters are honoured in ImageResizer console app

前端 未结 1 1573
[愿得一人]
[愿得一人] 2020-12-12 03:49

I am using ImageBuilder.Current.Build(imageStream, new ResizeSettings(\"width=100&height=200&crop=auto&s.grayscale=true\")) in a console application, but only wi

1条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 04:16

    .NET 4.0 doesn't load .dlls unless there is a static code reference.

    Use the code installation method during startup instead of XML:

    new SimpleFilters().Install(Config.Current).
    

    0 讨论(0)
提交回复
热议问题