asp.net - 在 asp.net 的 ImageResizer 上出现红点
问题描述
我正在使用 imageresizer,但是图像上有一个红点,虽然我没有使用任何付费插件,以下是我正在使用的插件:
- ImageResizer.dll
- 磁盘缓存.dll
- PrettyGifs.dll
下面是我的图片查询字符串:
image.jpg?w=100&h=50&mode=crop
尽管我也尝试过不收割,但结果仍然相同。我检查了 debug.ashx,它说我正在使用 Performance Edition 插件,但是除了上面之外我没有任何插件。它还提到
You are using <licenses licenseError='Watermark'>. If there is a licensing error, an red dot will be drawn on the bottom-right corner of each image. This can be set to 'Exception' instead (valuable if you are storing results).
任何人都可以建议,为什么会出现红点。
解决方案
DiskCache 和 PrettyGifs 都是付费插件(除非您符合 AGPL)。
磁盘缓存对于生产站点非常重要,因为如果不缓存结果,它们很容易不堪重负。图像处理需要大量的 CPU 时间和 RAM。
如果您正在做一个新项目,您应该使用 Imageflow 而不是 ImageResizer,因为它是更新、更好的替代品:https ://github.com/imazen/imageflow-dotnet-server
推荐阅读
- html - 本地 CSS 渲染为 unicode 字符
- installation - 安装 Tax4Fun 的问题
- deep-learning - 为什么我的 LSTM 自动编码器模型无法检测到异常值?
- javascript - 在 DIV 后面显示 Canvas
- ios - Swift 4.x/5.x 中是否有多个全局变量副本?如果是这样,你如何阻止它?
- rxjs - NestJS 处理 HttpModule 错误
- python - 如何使用 AJAX 使用相同的 html 模板(使用 Python 和 Django)创建和编辑新帖子?
- bash - 通过 pexpect 调用 ssh 存在终端/显示问题
- java - Spring REST从路由中获取控制器+方法?
- python - Python 中的 Barabási-Albert 模型