我的Web应用程序运行在开发服务器,租用的物理服务器和Azure VM上。开发服务器和Azure服务器可以完美运行ImageResizer,但是Win2K12上租用的服务器在resizer.debug中存在以下错误:
The FreeImage library is not available! All FreeImage plugins will be disabled.
我尝试删除FreeImage.dll并下载它,这已经成功完成了,但是仍然出现错误。
我真的被可能导致这种情况的原因所困扰。这是权限问题吗?很抱歉,文档中的某个地方已覆盖该文件,因为我找不到它。
以下完整的resizer.debug信息:
Diagnostics for ImageResizer 4.2.0 f80bfd38 at xxxxxxx generated 3/29/2019 6:49:54 PM
Please remember to provide this page when contacting support.
---------------------- Licensing OFF -----------------------
You are using a DRM-disabled version of ImageResizer. License enforcement is OFF.
DRM-enabled assemblies (if present) would see <licenses licenseError='Watermark'>
Need to change domains? Get a discounted upgrade to a floating license: https://imageresizing.net/licenses/convert
---------------------- Licensing OFF -----------------------
You are using ImageResizer Performance Edition plugins.
1 issues detected:
(Error): The FreeImage library is not available! All FreeImage plugins will be disabled.
Configuration:
<resizer>
<clientcache minutes="1440" />
<plugins>
<add name="AutoRotate" />
<add name="AzureReader2" prefix="~/cdn/" connectionString="[redacted]" endpoint="xxxxx" />
<add name="DiskCache" />
<add name="DiagnosticJsonPlugin" />
<add name="FreeImageDecoder" downloadNativeDependencies="true" />
<add name="FreeImageEncoder" downloadNativeDependencies="true" />
<add name="PrettyGifs" />
<add name="PsdReader" />
<add name="AnimatedGifs" />
<add name="Watermark" />
<add name="SimpleFilters" />
<add name="WebPEncoder" />
<add name="FFmpeg" downloadNativeDependencies="true" />
</plugins>
<watermarks>
[redacted]
</watermarks>
</resizer>
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.WebConfigLicenseReader
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.MvcRoutingShimPlugin
ImageResizer.Plugins.Basic.LicenseDisplay
ImageResizer.Plugins.Basic.AutoRotate
ImageResizer.Plugins.AzureReader2.AzureReader2Plugin
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Storage.BlobProviderBase]
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.DiskCache.DiskCache]
ImageResizer.Plugins.DiagnosticJson.DiagnosticJsonPlugin
ImageResizer.Plugins.FreeImageDecoder.FreeImageDecoderPlugin
ImageResizer.Plugins.FreeImageEncoder.FreeImageEncoderPlugin
ImageResizer.Plugins.PrettyGifs.PrettyGifs
ImageResizer.Plugins.PsdReader.PsdReader
ImageResizer.Plugins.AnimatedGifs.AnimatedGifs
ImageResizer.Plugins.Watermark.WatermarkPlugin
ImageResizer.Plugins.LicenseVerifier.LicenseEnforcer`1[ImageResizer.Plugins.Watermark.WatermarkPlugin]
ImageResizer.Plugins.SimpleFilters.SimpleFilters
ImageResizer.Plugins.WebPEncoder.WebPEncoderPlugin
ImageResizer.Plugins.FFmpeg.FFmpegPlugin
Accepted querystring keys:
quality, format, thumbnail, diagnosticjson, usepreview, autorotate, page, frame, colors, dither, watermark, filter, s.grayscale, s.overlay, s.shift, s.sepia, s.alpha, s.brightness, s.contrast, s.saturation, s.invert, s.roundcorners, ffmpeg.seconds, ffmpeg.percent, ffmpeg.skipblankframes, maxwidth, maxheight, width, height, w, h, crop, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, useresizingpipeline, cache, process, margin, dpi, zoom
Accepted file extensions:
psd, avi, mp4, avchd, flv, fla, swf, mpg, mpeg, mpe, mov, m4v, mkv, wmv, bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi