首页 > 解决方案 > 在 asp.net 的 ImageResizer 上出现红点

问题描述

我正在使用 imageresizer,但是图像上有一个红点,虽然我没有使用任何付费插件,以下是我正在使用的插件:

  1. ImageResizer.dll
  2. 磁盘缓存.dll
  3. 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).

任何人都可以建议,为什么会出现红点。

标签: asp.netimageresizer

解决方案


DiskCache 和 PrettyGifs 都是付费插件(除非您符合 AGPL)。

磁盘缓存对于生产站点非常重要,因为如果不缓存结果,它们很容易不堪重负。图像处理需要大量的 CPU 时间和 RAM。

如果您正在做一个新项目,您应该使用 Imageflow 而不是 ImageResizer,因为它是更新、更好的替代品:https ://github.com/imazen/imageflow-dotnet-server


推荐阅读